HBASE-2057 Cluster won't stop
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@894111 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
69b1be1d50
commit
c12028b5b9
|
@ -110,6 +110,7 @@ class ZKMasterAddressWatcher implements Watcher {
|
|||
}
|
||||
if(this.zookeeper.writeMasterAddress(address)) {
|
||||
this.zookeeper.setClusterState(true);
|
||||
this.zookeeper.setClusterStateWatch(this);
|
||||
// Watch our own node
|
||||
this.zookeeper.readMasterAddress(this);
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue