HDFS-16290.Make log more standardized when executing verifyAndSetNamespaceInfo(). (#3600)

HDFS-16290.Make log more standardized when executing verifyAndSetNamespaceInfo(). (#3600). Contributed by JiangHua Zhu.
This commit is contained in:
jianghuazhu 2021-10-31 11:18:52 +08:00 committed by GitHub
parent 634f8a2209
commit 0a68413a4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -378,7 +378,7 @@ void verifyAndSetNamespaceInfo(BPServiceActor actor, NamespaceInfo nsInfo)
if(nsInfo.getState() == HAServiceState.ACTIVE if(nsInfo.getState() == HAServiceState.ACTIVE
&& bpServiceToActive == null) { && bpServiceToActive == null) {
LOG.info("Acknowledging ACTIVE Namenode during handshake" + actor); LOG.info("Acknowledging ACTIVE Namenode during handshake {}", actor);
bpServiceToActive = actor; bpServiceToActive = actor;
} }