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:
parent
634f8a2209
commit
0a68413a4f
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user