浏览代码

HDFS-14673. The console log is noisy when using DNSDomainNameResolver to resolve NameNode.

HUAN-PING SU 6 年之前
父节点
当前提交
ecc8acfd24

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/AbstractNNFailoverProxyProvider.java

@@ -234,7 +234,7 @@ public abstract class AbstractNNFailoverProxyProvider<T> implements
           conf, nameNodeUri, HdfsClientConfigKeys.Failover.RESOLVE_SERVICE_KEY);
     // If the address needs to be resolved, get all of the IP addresses
     // from this address and pass them into the proxy
-    LOG.info("Namenode domain name will be resolved with {}",
+    LOG.debug("Namenode domain name will be resolved with {}",
         dnr.getClass().getName());
     for (InetSocketAddress address : addressesOfNns) {
       String[] resolvedHostNames = dnr.getAllResolvedHostnameByDomainName(