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 in...@apache.org on 2019/07/26 18:08:54 UTC

[hadoop] branch trunk updated: HDFS-14673. The console log is noisy when using DNSDomainNameResolver to resolve NameNode.

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

inigoiri 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 ecc8acf  HDFS-14673. The console log is noisy when using DNSDomainNameResolver to resolve NameNode.
ecc8acf is described below

commit ecc8acfd242ab933d2bd616fffacacca9011a6b1
Author: HUAN-PING SU <pi...@gmail.com>
AuthorDate: Sat Jul 27 02:08:46 2019 +0800

    HDFS-14673. The console log is noisy when using DNSDomainNameResolver to resolve NameNode.
---
 .../hadoop/hdfs/server/namenode/ha/AbstractNNFailoverProxyProvider.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/AbstractNNFailoverProxyProvider.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/AbstractNNFailoverProxyProvider.java
index 1147b1a..ec4c22e 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/AbstractNNFailoverProxyProvider.java
+++ b/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(


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org