signed

QiShunwang

“诚信为本、客户至上”

zookeeper.MetaTableLocator: Failed verification of hbase:meta,

2021/4/26 15:03:50   来源:

今天我的HBase1.4在启动的时候,HMaster闪退了,重启之后成功了,但是细心的我还是查看了日志,结果发现:
在这里插入图片描述
日志中出现了这样的错误

2021-04-26 14:45:59,613 INFO  [qiao-2080ti:16000.activeMasterManager] zookeeper.MetaTableLocator: Failed verification of hbase:meta,,1 at address=qiao-2080ti,16201,1619419257626, exception=org.apache.hadoop.hbase.NotServingRegionException: Region hbase:meta,,1 is not online on qiao-2080ti,16201,1619419553624
	at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegionByEncodedName(HRegionServer.java:3072)
	at org.apache.hadoop.hbase.regionserver.RSRpcServices.getRegion(RSRpcServices.java:1271)
	at org.apache.hadoop.hbase.regionserver.RSRpcServices.getRegionInfo(RSRpcServices.java:1557)
	at org.apache.hadoop.hbase.protobuf.generated.AdminProtos$AdminService$2.callBlockingMethod(AdminProtos.java:22731)
	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2399)
	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:124)
	at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:311)
	at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:291)

解决的方法:
停止HBase服务,停止ZooKeeper服务,把zookeeper的每个节点的zoo.cfg指定的 dataDir=/hadoop/zookeeper-data目录的文件清除掉,然后重启zookeeper,再重启hbase,
回复正常!!!