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:
Jean-Daniel Cryans 2009-12-27 21:09:36 +00:00
parent 69b1be1d50
commit c12028b5b9
1 changed files with 1 additions and 0 deletions

View File

@ -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;