Familiar with basic HBase operations

1. The tables and data in the following relational databases are required to be converted into tables suitable for HBase storage and inserted into the data:

2. Use the HBase Shell commands provided by Hadoop to accomplish the same task:

  • List information about all HBase tables; list
  •  

  • Print out all the recorded data of the student table in the terminal;
  •  

  • Add a course column family to the student table;
  • Add a math column to the course column family and register a grade of 85;
  •  

  • delete the course column;
  •  

  • The number of rows in the statistics table; count 's1'
  •  

  • Clear all record data of the specified table; truncate 's1'
  •  

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325825886&siteId=291194637