當(dāng)前位置:首頁 > IT技術(shù) > Web編程 > 正文

hbase報錯:org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
2021-09-22 11:31:59

報錯

hbase(main):002:0> status
1 active master, 0 backup masters, 2 servers, 0 dead, 0.0000 average load
Took 0.0730 seconds
hbase(main):003:0>
hbase(main):004:0*
hbase(main):005:0* create 'user_info',{NAME=>'base_info',VERSIONS=>3},{NAME=>'extra_info'}

ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
at org.apache.hadoop.hbase.master.HMaster.checkInitialized(HMaster.java:2826)
at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:2032)
at org.apache.hadoop.hbase.master.MasterRpcServices.createTable(MasterRpcServices.java:659)
at org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:418)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:133)
at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:338)
at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:318)

For usage try 'help "create"'

Took 9.0213 seconds
hbase(main):006:0>


原因

hbase報錯:org.apache.hadoop.hbase.PleaseHoldException: Master is initializing_hbase

解決

1.刪除hdfs中/hbase目錄

2.刪除zookeeper中/hbase目錄

?

本文摘自 :https://blog.51cto.com/z

開通會員,享受整站包年服務(wù)立即開通 >