You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Haohui Mai (JIRA)" <ji...@apache.org> on 2017/07/31 18:57:00 UTC

[jira] [Created] (HDFS-12232) ConfiguredFailoverProxyProvider caches DNS results infinitely

Haohui Mai created HDFS-12232:
---------------------------------

             Summary: ConfiguredFailoverProxyProvider caches DNS results infinitely
                 Key: HDFS-12232
                 URL: https://issues.apache.org/jira/browse/HDFS-12232
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: ha, hdfs
            Reporter: Haohui Mai


{{ConfiguredFailoverProxyProvider}} resolves the IP addresses and stores them in the internal state. As a result when migrating the standby NN to a different machine, it requires restarting all HDFS clients.

A better approach is to follow Java's policy of caching DNS names: http://javaeesupportpatterns.blogspot.com/2011/03/java-dns-cache-reference-guide.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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