This is an automated email from the ASF dual-hosted git repository.

ayushsaxena pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 2f55a6c  HDFS-16357. Fix log format in DFSUtilClient (#3729). 
Contributed by guophilipse.
2f55a6c is described below

commit 2f55a6cced7b301de63307fc97d8178fac89eb01
Author: GuoPhilipse <[email protected]>
AuthorDate: Sat Dec 4 21:05:05 2021 +0800

    HDFS-16357. Fix log format in DFSUtilClient (#3729). Contributed by 
guophilipse.
    
    Signed-off-by: Ayush Saxena <[email protected]>
---
 .../src/main/java/org/apache/hadoop/hdfs/DFSUtilClient.java           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSUtilClient.java
 
b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSUtilClient.java
index 7c71c64..1a1819d 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSUtilClient.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSUtilClient.java
@@ -733,13 +733,13 @@ public class DFSUtilClient {
     InetAddress addr = targetAddr.getAddress();
     Boolean cached = localAddrMap.get(addr.getHostAddress());
     if (cached != null) {
-      LOG.trace("Address {} is {} local", targetAddr, (cached ? "" : "not"));
+      LOG.trace("Address {} is{} local", targetAddr, (cached ? "" : " not"));
       return cached;
     }
 
     boolean local = NetUtils.isLocalAddress(addr);
 
-    LOG.trace("Address {} is {} local", targetAddr, (local ? "" : "not"));
+    LOG.trace("Address {} is{} local", targetAddr, (local ? "" : " not"));
     localAddrMap.put(addr.getHostAddress(), local);
     return local;
   }

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

Reply via email to