Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Master (should not?) abort startup on Unexpected PENDING_OPEN state


Copy link to this message
-
Master (should not?) abort startup on Unexpected PENDING_OPEN state
Jean-Marc Spaggiari 2013-12-26, 14:00
I think I stopped my master while it was doing a big balancing. At restart,
I'm getting the exception below and master exit. All RS are able to start
correctly, but not the master.

Since master is not starting I can not manually assign this region from the
shell. I guess I can simply delete the znode about the region, restart and
hbck, but my opinion is that we should not abord the startup when such
exception occurs.

JM

java.lang.IllegalStateException: Unexpected state :
page,www\x1Fhttp\x1F-1\x1F/vote/comment/27996/1/\x1Fnull,1379104524006.17bee313797fc1ce982c0e31fdb6620c.
state=PENDING_OPEN, ts=1388065670415, server=node6,60020,1388027343261 ..
Cannot transit it to OFFLINE.
    at
org.apache.hadoop.hbase.master.AssignmentManager.setOfflineInZooKeeper(AssignmentManager.java:1890)
    at
org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:1690)
    at
org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:1426)
    at
org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:1398)
    at
org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:1393)
    at
org.apache.hadoop.hbase.master.handler.ClosedRegionHandler.process(ClosedRegionHandler.java:105)
    at
org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:175)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)