From 368e9c4d19dd0152ab3f8babfcabf6b6d31bb150 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Tue, 19 Oct 2010 22:52:00 +0000 Subject: [PATCH] Add log line to backup masters saying they are such (jgray) git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1024451 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/hadoop/hbase/master/HMaster.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/apache/hadoop/hbase/master/HMaster.java b/src/main/java/org/apache/hadoop/hbase/master/HMaster.java index 2a441b4cb57..f50411754e9 100644 --- a/src/main/java/org/apache/hadoop/hbase/master/HMaster.java +++ b/src/main/java/org/apache/hadoop/hbase/master/HMaster.java @@ -223,6 +223,8 @@ implements HMasterInterface, HMasterRegionInterface, MasterServices, Server { HConstants.DEFAULT_MASTER_TYPE_BACKUP)) { return; } + 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 (!amm.isActiveMaster()) {