操作hbase shell 出现ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

解决方法:
主控形状正在初始化,检查zookeeper的状态,然后重新连接hbase shell
进入zookeeper的bin目录执行:./zkServer.sh status查看状态
如下图表示已经启动
操作hbase shell 出现ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing