错误信息:
org.apache.hadoop.hbase.NotServingRegionException: Region is not online
2018-10-24 17:20:02,554 INFO [node1:16000.activeMasterManager] zookeeper.MetaTableLocator: Failed verification of hbase:meta,,1 at address=node1,16201,1540371466872, exception=org.apache.hadoop.hbase.NotServingRegionException: Region hbase:meta,,1 is not online on node1,16201,1540372793704
at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegionByEncodedName(HRegionServer.java:2942)
at org.apache.hadoop.hbase.regionserver.RSRpcServices.getRegion(RSRpcServices.java:1072)
at org.apache.hadoop.hbase.regionserver.RSRpcServices.getRegionInfo(RSRpcServices.java:1356)
at org.apache.hadoop.hbase.protobuf.generated.AdminProtos$AdminService$2.callBlockingMethod(AdminProtos.java:22233)
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)
2018-10-24 17:20:02,568 INFO [node1:16000.activeMasterManager] master.SplitLogManager: dead splitlog workers [node1,16201,1540371466872]
错误截图:
解决方案:
可先通过hbase hbck进行检查是否正常,一般会提示不一致(INCONSISTENT),一般方法为通过命令:hbase hbck -fix修复。修复成功状态为OK。
hbase hbck -fix
推荐博客:
1、Hbase架构及工作原理、数据及物理模型、Hbase优化
2、Hbase常用优化、Hbae性能优化、Hbase优化经验总结
4、Hbase错误总结:Hbase连接不上Zookeeper