hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject svn commit: r894110 - /hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/master/HMaster.java
Date Sun, 27 Dec 2009 21:09:24 GMT
Author: jdcryans
Date: Sun Dec 27 21:09:23 2009
New Revision: 894110

URL: http://svn.apache.org/viewvc?rev=894110&view=rev
Log:
HBASE-2057  Cluster won't stop

Modified:
    hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/master/HMaster.java

Modified: hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/master/HMaster.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/master/HMaster.java?rev=894110&r1=894109&r2=894110&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/master/HMaster.java (original)
+++ hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/master/HMaster.java Sun Dec
27 21:09:23 2009
@@ -259,6 +259,7 @@
         return false;
       } else if(zooKeeperWrapper.writeMasterAddress(address)) {
         zooKeeperWrapper.setClusterState(true);
+        zooKeeperWrapper.setClusterStateWatch(zkMasterAddressWatcher);
         // Watch our own node
         zooKeeperWrapper.readMasterAddress(this);
         return true;



Mime
View raw message