HBASE-25673 Wrong log regarding current active master at ZKLeaderManager#waitToBecomeLeader (#3057)

Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
This commit is contained in:
Anoop Sam John 2021-03-18 21:18:25 +05:30 committed by GitHub
parent d200a67264
commit a698b1ea53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ public class ZKLeaderManager extends ZKListener {
ZKUtil.deleteNode(watcher, leaderZNode);
leaderExists.set(false);
} else {
LOG.info("Found existing leader with ID: {}", Bytes.toStringBinary(nodeId));
LOG.info("Found existing leader with ID: {}", Bytes.toStringBinary(currentId));
leaderExists.set(true);
}
} catch (KeeperException ke) {