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
This commit is contained in:
Jonathan Gray 2010-10-19 22:52:00 +00:00
parent 315d5da29b
commit 368e9c4d19
1 changed files with 2 additions and 0 deletions

View File

@ -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()) {