hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nspiegelb...@apache.org
Subject svn commit: r1181388 - /hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
Date Tue, 11 Oct 2011 02:04:26 GMT
Author: nspiegelberg
Date: Tue Oct 11 02:04:25 2011
New Revision: 1181388

URL: http://svn.apache.org/viewvc?rev=1181388&view=rev
Log:
Additional logging so we know if a master was started in backup mode

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

Modified: hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/master/HMaster.java?rev=1181388&r1=1181387&r2=1181388&view=diff
==============================================================================
--- hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/master/HMaster.java (original)
+++ hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/master/HMaster.java Tue Oct
11 02:04:25 2011
@@ -231,6 +231,8 @@ public class HMaster extends Thread impl
 
     // if we're a backup master, stall until a primary to writes his address
     if(conf.getBoolean(HConstants.MASTER_TYPE_BACKUP, HConstants.DEFAULT_MASTER_TYPE_BACKUP))
{
+      LOG.debug("HMaster started in backup mode.  " +
+                "Stalling until master znode is written.");
       // this will only be a minute or so while the cluster starts up,
       // so don't worry about setting watches on the parent znode
       while (!zooKeeperWrapper.masterAddressExists()) {



Mime
View raw message