Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8156

Remove ability to specify a custom nameserver for an interface in DNS.java

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • conf
    • None
    • Incompatible change

    Description

      A long time ago HADOOP-497 introduced the option to specify a specific nameserver to use when looking up the hostname of an interface specified in the config (eg by dfs.datanode.dns.interface). This feature is not in MR2, and I dont't think it makes sense for HDFS since HDFS stopped advertising DNs by hostname a long time ago (HADOOP-985). Also per HADOOP-8134 and HBASE-4109, I don't think this feature works, as it returns the PTR record verbatim instead of the hostname (eg PTR record may have a trailing ".", ".lan" etc that may not resolve).

      How about we remove this feature from trunk and 23? We can deprecate in 1.0, though I doubt anyone is using it. This is an incompatible change. DNS is annotated LimitedPrivate and Unstable but HBase uses it so will file need to file a jira there (they use this via HBASE-1279 and HBASE-1279).

      Attachments

        1. hadoop-8156.txt
          26 kB
          Eli Collins

        Issue Links

          Activity

            People

              eli Eli Collins
              eli2 Eli Collins
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: