1.启动hadoop,hbase
start-all.sh
start-hbase.sh
# 确认启动成功
jps
应该会看到下面这些进程
2375 SecondaryNameNode
2169 DataNode
2667 NodeManager
2972 Jps
2045 NameNode
2541 ResourceManager
2.创建hbase测试库
hbase shell
create 'student','info'
//首先录入student表的第一个学生记录
put 'student','1','info:name','Xueqian'
put 'student','1','info:gender','F