Review Board 1.7.22


HBASE-5099 ZK event thread waiting for root region while server shutdown handler waiting for event thread to finish distributed log splitting to recover the region sever the root region is on

Review Request #3323 - Created Dec. 28, 2011 and submitted

Jimmy Xiang
trunk
HBASE-5099
Reviewers
hbase
stack, tedyu
hbase-git
Per discussion with Ted (on issues), I put up a patch to run tryRecoveringExpiredZKSession() in a separate thread and time it out and fail the recovery if it is stuck somewhere.

I added a test to test the abort method.  However, for the mini cluster, becomeActiveMaster() doesn't succeed so the abort method ends up always aborted.  So the actually success recovery is not tested.
mvn -PlocalTests -Dtest=TestMaster* clean test
Review request changed
Updated (Dec. 29, 2011, 10:48 p.m.)
Ship it!
Posted (Dec. 29, 2011, 10:51 p.m.)