Skip to content

Commit ecc8acf

Browse files
pingsutwgoiri
authored andcommitted
HDFS-14673. The console log is noisy when using DNSDomainNameResolver to resolve NameNode.
1 parent c01e137 commit ecc8acf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ Collection<InetSocketAddress> getResolvedHostsIfNecessary(
234234
conf, nameNodeUri, HdfsClientConfigKeys.Failover.RESOLVE_SERVICE_KEY);
235235
// If the address needs to be resolved, get all of the IP addresses
236236
// from this address and pass them into the proxy
237-
LOG.info("Namenode domain name will be resolved with {}",
237+
LOG.debug("Namenode domain name will be resolved with {}",
238238
dnr.getClass().getName());
239239
for (InetSocketAddress address : addressesOfNns) {
240240
String[] resolvedHostNames = dnr.getAllResolvedHostnameByDomainName(

0 commit comments

Comments
 (0)