[ 
https://issues.apache.org/jira/browse/HBASE-10101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13843368#comment-13843368
 ] 

Jeffrey Zhong commented on HBASE-10101:
---------------------------------------

[~jxiang]  There are some issues in the test utility shutdown and that's why I 
made change to make sure we have a clean cluster restart:
1) We close ZookeeperWatcher before we shutdown a cluster so the shut down may 
leave unclean state because ZK is already closed and shutdown code has no way 
talk to ZK.
2) ZK Ephemeral nodes take a little bit time be cleaned depends on how 
ZooKeeper handles zk session timeout. Therefore, if a cluster restarts so 
quick, the following cluster start up may see stale ZK nodes which may cause 
the issue.

> testOfflineRegionReAssginedAfterMasterRestart times out sometimes.
> ------------------------------------------------------------------
>
>                 Key: HBASE-10101
>                 URL: https://issues.apache.org/jira/browse/HBASE-10101
>             Project: HBase
>          Issue Type: Test
>            Reporter: Jimmy Xiang
>            Assignee: Jeffrey Zhong
>            Priority: Minor
>         Attachments: hbase-10101-v2.patch, hbase-10101-v3-update.patch, 
> hbase-10101-v3.patch, hbase-10101.patch, test.log
>
>
> Sometimes, I got this test timed out. The log is attached. It could be 
> because the new cluster takes a while to process the dead server, or assign 
> meta.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to