HDFS-14673. The console log is noisy when using DNSDomainNameResolver to resolve NameNode.
This commit is contained in:
parent
c01e137273
commit
ecc8acfd24
|
@ -234,7 +234,7 @@ public abstract class AbstractNNFailoverProxyProvider<T> implements
|
||||||
conf, nameNodeUri, HdfsClientConfigKeys.Failover.RESOLVE_SERVICE_KEY);
|
conf, nameNodeUri, HdfsClientConfigKeys.Failover.RESOLVE_SERVICE_KEY);
|
||||||
// If the address needs to be resolved, get all of the IP addresses
|
// If the address needs to be resolved, get all of the IP addresses
|
||||||
// from this address and pass them into the proxy
|
// 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());
|
dnr.getClass().getName());
|
||||||
for (InetSocketAddress address : addressesOfNns) {
|
for (InetSocketAddress address : addressesOfNns) {
|
||||||
String[] resolvedHostNames = dnr.getAllResolvedHostnameByDomainName(
|
String[] resolvedHostNames = dnr.getAllResolvedHostnameByDomainName(
|
||||||
|
|
Loading…
Reference in New Issue