Anoop Sam John created HBASE-25673:
--------------------------------------
Summary: Wrong log regarding current active master at
ZKLeaderManager#waitToBecomeLeader
Key: HBASE-25673
URL: https://issues.apache.org/jira/browse/HBASE-25673
Project: HBase
Issue Type: Bug
Reporter: Anoop Sam John
Assignee: Anoop Sam John
{code}
byte[] currentId = ZKUtil.getDataAndWatch(watcher, leaderZNode);
if (currentId != null && Bytes.equals(currentId, nodeId)) {
....
} else {
LOG.info("Found existing leader with ID: {}", Bytes.toStringBinary(nodeId));
leaderExists.set(true);
}
{code}
Existing id, read from ZK, is currentId. But by mistake we log 'nodeId' which
is the current master node id.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)