hbase报错: hbase.PleaseHoldException: Master is initializing

查看hbase服务状态报错:

 

hbase(main):001:0> status

 

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

        at org.apache.hadoop.hbase.master.HMaster.checkInitialized(HMaster.java:2293)

        at org.apache.hadoop.hbase.master.MasterRpcServices.getClusterStatus(MasterRpcServices.java:777)

.....

 

解决:

登录zookeeper客户端,删除/hbase 

# ./bin/zkCli.sh

[zk: localhost:2181(CONNECTED) 1] rmr /hbase

 

之后重启hbase服务

 

参考:

https://blog.csdn.net/fooelliot/article/details/86621182

你可能感兴趣的:(云计算和大数据)