복붙노트

[HADOOP] HBase를, zookeeper.MetaTableLocator 소개 : HBase를의 실패 검증 : 메타, .NotServingRegionException

HADOOP

HBase를, zookeeper.MetaTableLocator 소개 : HBase를의 실패 검증 : 메타, .NotServingRegionException

내가 hadoop2.7.3, HBase를 1.2.3을 사용, 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)

나는 예외를 검색 가지고 있지만, 그 이유는 내 모든 situation.and 사육사의 로그 충족되지 않은 (즉은, saftemode 또는 서버의 날짜에 대해를 HDFS) :

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

zoo.cfg

해결법

  1. ==============================

    1.나는이 문제를 만났다. 먼저 데이터 복구를 시도 할 수 있습니다

    나는이 문제를 만났다. 먼저 데이터 복구를 시도 할 수 있습니다

    또한, 당신은 단지 전체 사육사의 데이터를 삭제할 수 있습니다, 이는 HBase를-site.xml 파일 또는 zoo.cfg, 또는 기본 DIRS 구성 할 수 있습니다, 당신은 그것을 위해 구성 파일을 확인하실 수 있습니다

  2. from https://stackoverflow.com/questions/40500527/about-hbase-zookeeper-metatablelocator-failed-verification-of-hbasemeta-not by cc-by-sa and MIT license