Hadoop Common
  1. Hadoop Common
  2. HADOOP-8156

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

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: conf
    • Labels:
      None
    • Hadoop Flags:
      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).

      1. hadoop-8156.txt
        26 kB
        Eli Collins

        Issue Links

          Activity

          Eli Collins created issue -
          Eli Collins made changes -
          Field Original Value New Value
          Attachment hadoop-8156.txt [ 12517645 ]
          Eli Collins made changes -
          Link This issue is related to HBASE-4109 [ HBASE-4109 ]
          Eli Collins made changes -
          Link This issue relates to HBASE-5587 [ HBASE-5587 ]
          Eli Collins made changes -
          Target Version/s 0.23.3 [ 12320059 ]
          Eli Collins made changes -
          Assignee Eli Collins [ eli2 ] Eli Collins [ eli ]

            People

            • Assignee:
              Eli Collins
              Reporter:
              Eli Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:

                Development