天天看點

Hbase shell詳情

HBase 為使用者提供了一個非常友善的使用方式, 我們稱之為“HBase Shell”。

HBase Shell 提供了大多數的 HBase 指令, 通過 HBase Shell 使用者可以友善地建立、删除及修改表, 還可以向表中添加資料、列出表中的相關資訊等。

備注:寫錯 HBase Shell 指令時用鍵盤上的“Delete”進行删除,“Backspace”不起作用。

在啟動 HBase 之後,使用者可以通過下面的指令進入 HBase Shell 之中,指令如下所示:

hadoop@ubuntu:~$ hbase shell
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 0.94.3, r1408904, Wed Nov 14 19:55:11 UTC 2012

hbase(main):001:0>       

具體的 HBase Shell 指令如下表 1.1-1 所示: