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

Jean-Daniel Cryans commented on HBASE-2057:
-------------------------------------------

I investigated the problem of our cluster and it seems to be that, since we use 
JMX, when the stop master process starts it fails to bind on the JMX port and 
then exists. One thing that would be helping is if the first master in a 
cluster was watching it's own cluster state znode so I'm going to commit this 
from ZKMasterAddressWatcher.writeAddressToZooKeeper:

{code}
       if(this.zookeeper.writeMasterAddress(address)) {
         this.zookeeper.setClusterState(true);
+        this.zookeeper.setClusterStateWatch(this);
{code}

> Cluster won't stop
> ------------------
>
>                 Key: HBASE-2057
>                 URL: https://issues.apache.org/jira/browse/HBASE-2057
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.3, 0.21.0
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.20.3, 0.21.0
>
>
> It seems that clusters on trunk have some trouble stopping. Even manually 
> deleting the shutdown file in ZK doesn't always help. Investigate.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to