開啓shell
hbase shell
有哪些表
list
創建表
create 'mytable', 'mycf'
創建表,column family
添加數據
put 'mytable', 'abc', 'mycf:a', '123'
put 'mytable', 'def', 'mycf:b', '456'
查看錶
scan 'mytable'
刪表
disable 'mytable'
drop 'mytable'
hbase shell
list
create 'mytable', 'mycf'
創建表,column family
put 'mytable', 'abc', 'mycf:a', '123'
put 'mytable', 'def', 'mycf:b', '456'
scan 'mytable'
disable 'mytable'
drop 'mytable'