The specific hbase shell commands are shown in the following table:
View hbase Status: status
View versions of HBase: Version
Creating a scores table: Create ' scores ', ' Grad ', ' course '
See what tables are in the current hbase: List
View the construction of table scores: Describe ' scores '
Inserting data using put: Put ' scores ', ' Xiapi ', ' Grad: ', ' 1 '
(Xiaoxue similar) put ' scores ', ' Xiapi ', ' Course:chine ', 97 '
Put ' scores ', ' Xiapi ', Course:math ', ' 128 '
Put ' scorse ', ' xiapi ', ' course:engish ', ' 85 '
View the row ' xiapi ' in table ' scores ': Get scores ', ' Xiapi '
View all data in a table: Scan ' scores '
View all data in a column cluster in a table: Scan ' scores ',{columns=> ' course '}
Delete Course Math:delete ' scores ', ' Xiapi ', ' Course:math ' in the table Xiapi row in the column cluster
Close table: Disable ' scores '
Delete Table (must close before deleting): Drop ' scores '
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
HBase Shell Basic Operations Command