Hbase報錯:ERROR: org.apache.hadoop.hbase.ipc.ServerNotRunningYetException: Server is not running yet
阿新 • • 發佈:2019-02-05
今天啟動hbase的時候報錯:
ERROR: org.apache.hadoop.hbase.ipc.ServerNotRunningYetException: Server is not running yet at org.apache.hadoop.hbase.master.HMaster.checkServiceStarted(HMaster.java:2261) at org.apache.hadoop.hbase.master.MasterRpcServices.isMasterRunning(MasterRpcServices.java:930) at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java:55654) at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2180) 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)
這種情況是由於不正常的關閉hadoop,從而導致hadoop進入了安全模式產生的原因。
解決方案:讓hadoop退出安全模式
hadoop dfsadmin -safemode leave