1 needs
For the HBase dataset in ORDER_INFO.txt, we need to execute these instructions in HBase and import the data into HBase.
You can see that these are a bunch of put statements. So how can all these statements be executed?
2 Execute the command file
2.1 Upload command file
Upload the data set file to the specified directory. I upload it directly to the home. In the real environment, it is best to create a directory.
2.2 Execution
Execute with the following command:
hbase shell /home/ORDER_INFO.txt
That's it.