在启动HBase服务前,确保hadoop和zookeeper都已经启动
在进入HBase Shell操作前
启动HBase服务
bin/start-hbase.sh
对应的停止服务 在停止zookeeper之前停止hbase,否则hbase会出现无法停止的状况
bin/stop-hbase.sh
进入HBase客户端命令行
bin/hbase shell
bin/start-hbase.sh
bin/stop-hbase.sh
bin/hbase shell