開啓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'
一、幾個基本概念 tty(Teletypewriter) 來源於“電傳打印機”,Linux系統中則是終端設備的統稱,同時也代指操作系統中支持終端設備的tty子系統。 console(控制檯)