You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Eli Collins (Created) (JIRA)" <ji...@apache.org> on 2012/03/09 00:29:58 UTC

[jira] [Created] (HADOOP-8156) Remove ability to specify a custom nameserver for an interface in DNS.java

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

                 Key: HADOOP-8156
                 URL: https://issues.apache.org/jira/browse/HADOOP-8156
             Project: Hadoop Common
          Issue Type: Improvement
          Components: conf
            Reporter: Eli Collins
            Assignee: Eli Collins


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).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira