eclise中启动Hbase的Hmaster,玩玩shell

时间:2021-02-09 16:23:54

首先master:

eclise中启动Hbase的Hmaster,玩玩shell

参数:

eclise中启动Hbase的Hmaster,玩玩shell

运行 hbase shell

eclise中启动Hbase的Hmaster,玩玩shell

hbase shell参数

eclise中启动Hbase的Hmaster,玩玩shell

运行起来后hbase的shell

eclise中启动Hbase的Hmaster,玩玩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