This is an automated email from the ASF dual-hosted git repository. xyao pushed a commit to branch ozone-0.4.1 in repository https://gitbox.apache.org/repos/asf/hadoop.git
commit 0e07cd13dc8cc4d2290dae29e13a00458e0a5f81 Author: Xiaoyu Yao <x...@apache.org> AuthorDate: Sat Aug 3 22:33:01 2019 -0700 HDDS-1896. Suppress WARN log from NetworkTopology#getDistanceCost. Contributed by Xiaoyu Yao. (#1214) (cherry picked from commit 065cbc6b5460427e24c7cb4eaa9538c080f35616) --- .../main/java/org/apache/hadoop/hdds/scm/net/NetworkTopologyImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/net/NetworkTopologyImpl.java b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/net/NetworkTopologyImpl.java index 1a03215..07d86c1 100644 --- a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/net/NetworkTopologyImpl.java +++ b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/net/NetworkTopologyImpl.java @@ -595,7 +595,7 @@ public class NetworkTopologyImpl implements NetworkTopology{ try { if ((node1.getAncestor(maxLevel - 1) != clusterTree) || (node2.getAncestor(maxLevel - 1) != clusterTree)) { - LOG.warn("One of the nodes is outside of network topology"); + LOG.debug("One of the nodes is outside of network topology"); return Integer.MAX_VALUE; } int level1 = node1.getLevel(); --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org