<>1. 错误描述
ERROR: org.apache.hadoop.hbase.ipc.ServerNotRunningYetException: Server is not
running yet at
org.apache.hadoop.hbase.master.HMaster.checkServiceStarted(HMaster.java:2372)
at
org.apache.hadoop.hbase.master.MasterRpcServices.isMasterRunning(MasterRpcServices.java:931)
at
org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java:55654)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2196) at
org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112) at
org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133) at
org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108) at
java.lang.Thread.run(Thread.java:748)
<>2. 解决方法
出现上面问题的原因是 hadoop的hdfs集群处在安全模式,解决问题方式就是手动退出安全模式.
hadoop dfsadmin -safemode leave
然后再重启hbase集群即可。