ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
at org.apache.hadoop.hbase.master.HMaster.checkInitialized(HMaster.java:2829)
at org.apache.hadoop.hbase.master.HMaster.listNamespaces(HMaster.java:3141)
at org.apache.hadoop.hbase.master.MasterRpcServices.listNamespaces(MasterRpcServices.java:1050)
at org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos$MasterService\(2.callBlockingMethod(MasterProtos.java) at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:392) at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:133) at org.apache.hadoop.hbase.ipc.RpcExecutor\)Handler.run(RpcExecutor.java:359)
at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:339)
解决办法(清除hbase原有的所有数据)
1、hadoop的bin目录下,执行命令以下命令清除Hbase数据
hadoop fs -rm -r /hbase
2、连接ZK,执行以下命令清除Hbase数据
# 在bin下连接zookeeper
./zkCli.sh -server 127.0.0.1:2181
rmr /hbase
3、重启ZK、重启hadoop(hdfs、yarn)、重启hbase
标签:ipc,java,hadoop,initializing,apache,org,hbase From: https://www.cnblogs.com/java-six/p/16727573.html