Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12232

ConfiguredFailoverProxyProvider caches DNS results indefinitely

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ha, hdfs
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wheat9 Haohui Mai

              Dates

              • Created:
                Updated:

                Issue deployment