首先master:
参数:
运行 hbase shell
hbase shell参数
运行起来后hbase的shell
跑几个命令试试发现可以了:
create 't_person','no','name'
create 't_person','no','name'
0 row(s) in 2.5020 seconds
Hbase::Table - t_person
list
list
TABLE
t_person
1 row(s) in 0.1270 seconds
["t_person"]
put 't_person','r1','no','1234'
put 't_person','r1','no','1234'
0 row(s) in 0.3280 seconds
put 't_person','r1','name','xiaoming'
put 't_person','r1','name','xiaoming'
0 row(s) in 0.0160 seconds
scan 't_person'
scan 't_person'
ROW COLUMN+CELL
r1 column=name:, timestamp=1396118296355, value=xiaoming
r1 column=no:, timestamp=1396118271612, value=1234