Version 3 (modified by shunfa, 12 years ago) (diff) |
---|
HBase 操作
0. 啟動HBase並確認所有服務都已啟動
- 終端機
~$ jps 17101 QuorumPeerMain 19978 HRegionServer 19807 HMaster 14510 NameNode 15136 TaskTracker 20311 Jps 14685 DataNode 14873 SecondaryNameNode 14958 JobTracker
- 網頁瀏覽器
http://localhost:60010
1. 進入HBase Shell
shunfa@shunfa-vmmVBox:/opt/hbase-0.90.6$ bin/hbase shell HBase Shell; enter 'help<RETURN>' for list of supported commands. Type "exit<RETURN>" to leave the HBase Shell Version 0.90.6, r1295128, Wed Feb 29 14:29:21 UTC 2012 hbase(main):001:0>
- 試試help指令
hbase(main):001:0> help