发布于

多次重装hbase 导致HMaster进程一直处于初始化状态

进入 hbase shell 之后,建表,报错

hbase:002:0> create 't1', 'f1';

ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
	at org.apache.hadoop.hbase.master.HMaster.checkInitialized(HMaster.java:2830)
	at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:2082)
	at org.apache.hadoop.hbase.master.MasterRpcServices.createTable(MasterRpcServices.java:698)
	at org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java)
	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:384)
	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:131)
	at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:371)
	at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:351)
评论(1)
  • oushu6816 回复

    可以检查一下,每次重装的时候,zk 节点信息是不是没有删除。导致元数据信息不一致

test