sodonnel commented on a change in pull request #3820:
URL: https://github.com/apache/hadoop/pull/3820#discussion_r772322657



##########
File path: 
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/NamenodeHeartbeatService.java
##########
@@ -272,7 +272,7 @@ private void updateState() {
     } else if (localTarget == null) {
       // block info available, HA status not expected
       LOG.debug(
-          "Reporting non-HA namenode as operational: " + getNamenodeDesc());
+          "Reporting non-HA namenode as operational: {}", getNamenodeDesc());

Review comment:
       Note there is another debug message just above this one which looks 
similar and could be wrapped in a if LOG.isDebugEnabled at 270 for the same 
reason.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to