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:
parent
315d5da29b
commit
368e9c4d19
|
@ -223,6 +223,8 @@ implements HMasterInterface, HMasterRegionInterface, MasterServices, Server {
|
||||||
HConstants.DEFAULT_MASTER_TYPE_BACKUP)) {
|
HConstants.DEFAULT_MASTER_TYPE_BACKUP)) {
|
||||||
return;
|
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,
|
// This will only be a minute or so while the cluster starts up,
|
||||||
// so don't worry about setting watches on the parent znode
|
// so don't worry about setting watches on the parent znode
|
||||||
while (!amm.isActiveMaster()) {
|
while (!amm.isActiveMaster()) {
|
||||||
|
|
Loading…
Reference in New Issue