You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ay...@apache.org on 2021/12/04 13:05:41 UTC
[hadoop] branch trunk updated: HDFS-16357. Fix log format in DFSUtilClient (#3729). Contributed by guophilipse.
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 <46...@users.noreply.github.com>
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 <ay...@apache.org>
---
.../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: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org