我使用hadoop2.7.3、hbase 1.2.3和zookeeper 3.4.9。
每次我停止hbase并重新启动它时,它都会引发异常:
[hadoop01:16000.activeMasterManager] zookeeper.MetaTableLocator: Failed verification of hbase:meta,,1 at address=hadoop05,16020,1478663588885, exception=org.apache.hadoop.hbase.NotServingRegionException: Region hbase:meta,,1 is not online on hadoop05,16020,1478664215143
at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegionByEncodedName(HRegionServer.java:2922)
at org.apache.hadoop.hbase.regionserver.RSRpcServices.getRegion(RSRpcServices.java:1059)
at org.apache.hadoop.hbase.regionserver.RSRpcServices.getRegionInfo(RSRpcServices.java:1339)
at org.apache.hadoop.hbase.protobuf.generated.AdminProtos$AdminService$2.callBlockingMethod(AdminProtos.java:22233)
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:745)
我已经搜索了异常,但原因(即,hdfs saftemode或服务器的日期)都不满足我的情况。以及zookeeper的日志:
2016-11-09 03:34:49,900 [myid:2] - INFO [ProcessThread(sid:2 cport:-1)::PrepRequestProcessor@649] - Got user-level KeeperException when processing sessionid:0x358483686110002 type:create cxid:0x1 zxid:0x100000040 txntype:-1 reqpath:n/a Error Path:/hbase/replication Error:KeeperErrorCode = NoNode for /hbase/replication
2016-11-09 03:34:50,810 [myid:2] - INFO [ProcessThread(sid:2 cport:-1)::PrepRequestProcessor@649] - Got user-level KeeperException when processing sessionid:0x15848364a850001 type:create cxid:0x16 zxid:0x100000048 txntype:-1 reqpath:n/a Error Path:/hbase/replication/peers Error:KeeperErrorCode = NodeExists for /hbase/replication/peers
2016-11-09 03:34:55,378 [myid:2] - INFO [ProcessThread(sid:2 cport:-1)::PrepRequestProcessor@649] - Got user-level KeeperException when processing sessionid:0x15848364a850000 type:delete cxid:0x5b zxid:0x100000049 txntype:-1 reqpath:n/a Error Path:/hbase/meta-region-server Error:KeeperErrorCode = NoNode for /hbase/meta-region-server
2016-11-09 03:34:56,677 [myid:2] - INFO [ProcessThread(sid:2 cport:-1)::PrepRequestProcessor@649] - Got user-level KeeperException when processing sessionid:0x15848364a850001 type:setData cxid:0x2d zxid:0x10000004e txntype:-1 reqpath:n/a Error Path:/hbase/meta-region-server Error:KeeperErrorCode = NoNode for /hbase/meta-region-server
2016-11-09 03:34:57,556 [myid:2] - INFO [ProcessThread(sid:2 cport:-1)::PrepRequestProcessor@649] - Got user-level KeeperException when processing sessionid:0x15848364a850000 type:create cxid:0x30c zxid:0x100000052 txntype:-1 reqpath:n/a Error Path:/hbase/table-lock/hbase:namespace Error:KeeperErrorCode = NoNode for /hbase/table-lock/hbase:namespace
2016-11-09 03:35:00,443 [myid:2] - INFO [ProcessThread(sid:2 cport:-1)::PrepRequestProcessor@649] - Got user-level KeeperException when processing sessionid:0x15848364a850000 type:create cxid:0x330 zxid:0x100000062 txntype:-1 reqpath:n/a Error Path:/hbase/namespace/default Error:KeeperErrorCode = NodeExists for /hbase/namespace/default
2016-11-09 03:35:00,510 [myid:2] - INFO [ProcessThread(sid:2 cport:-1)::PrepRequestProcessor@649] - Got user-level KeeperException when processing sessionid:0x15848364a850000 type:create cxid:0x333 zxid:0x100000064 txntype:-1 reqpath:n/a Error Path:/hbase/namespace/hbase Error:KeeperErrorCode = NodeExists for /hbase/namespace/hbase
hbase-sie.xml
动物园.cfg
1条答案
按热度按时间bgibtngc1#
我也遇到了这个问题。首先,您可以尝试修复数据
bin/hbase清除
用法:hbase clean(--cleanzk |--cleanhdfs |--cleanall)选项:
另外,您也可以删除整个Zookeers的数据,这些数据可以由hbase-site.xml或zoo.cfg配置,甚至是默认的目录,您可以检查配置文件以获取这些数据