Hi J-D,
You are right, there are other reason causing the server shutdown:

org.apache.zookeeper.KeeperException$BadVersionException: KeeperErrorCode = 
BadVersion for /hbase/unassigned/c7d346485bb00d6f905985c5d6b47b5e
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:106)
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
        at org.apache.zookeeper.ZooKeeper.setData(ZooKeeper.java:1038)
        at org.apache.hadoop.hbase.zookeeper.ZKUtil.setData(ZKUtil.java:708)
        at 
org.apache.hadoop.hbase.zookeeper.ZKAssign.transitionNode(ZKAssign.java:698)
        at 
org.apache.hadoop.hbase.zookeeper.ZKAssign.retransitionNodeOpening(ZKAssign.java:585)
        at 
org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.tickleOpening(OpenRegionHandler.java:322)
        at 
org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.process(OpenRegionHandler.java:97)
        at 
org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:151)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
2011-04-18 14:01:03,444 INFO 
org.apache.hadoop.hbase.regionserver.HRegionServer: Dump of metrics: 
request=0.0, regions=361, stores=722, storefiles=294, storefileIndexSize=115, 
memstoreSize=0, compactionQueueSize=3, flushQueueSize=0, usedHeap=5881, 
maxHeap=8165, blockCacheSize=1385421952, blockCacheFree=326902656, 
blockCacheCount=20786, blockCacheHitCount=283716555, 
blockCacheMissCount=68379692, blockCacheEvictedCount=9159612, 
blockCacheHitRatio=80, blockCacheHitCachingRatio=96
2011-04-18 14:01:03,444 INFO 
org.apache.hadoop.hbase.regionserver.HRegionServer: STOPPED: Exception 
refreshing OPENING; region=c7d346485bb00d6f905985c5d6b47b5e, 
context=post_region_open

Zhou Shuaifeng(Frank)


-----邮件原件-----
发件人: Zhoushuaifeng [mailto:[email protected]] 
发送时间: 2011年4月20日 8:56
收件人: Jean-Daniel Cryans; [email protected]
抄送: Yanlijun
主题: 答复: Disable table causing regionserver shutdown

Nobody asked to shutdown the region server. Only disable tables, but the region 
server shutdown.
I have 8 region servers, 2 shut down, the same reason.
Please recheck if there is a problem.

Zhou Shuaifeng(Frank)
-------------------------------------------------------------------------------------------------------------------------------------

-----邮件原件-----
发件人: [email protected] [mailto:[email protected]] 代表 Jean-Daniel Cryans
发送时间: 2011年4月20日 2:45
收件人: [email protected]
抄送: Zhoushuaifeng; Yanlijun
主题: Re: Disable table causing regionserver shutdown

That's the expected behavior when the region server is asked to
shutdown and there's a compaction running, take a closer look at the
log before those lines to find the reason.

J-D

Reply via email to