[
https://issues.apache.org/jira/browse/HDFS-5338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo (Nicholas), SZE updated HDFS-5338:
-----------------------------------------
Resolution: Fixed
Fix Version/s: 2.3.0
Status: Resolved (was: Patch Available)
Thanks Chris for reviewing the patches.
I have committed this.
> Add a conf to disable hostname check in DN registration
> -------------------------------------------------------
>
> Key: HDFS-5338
> URL: https://issues.apache.org/jira/browse/HDFS-5338
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 2.3.0
>
> Attachments: h5338_20131009.patch, h5338_20131011.patch
>
>
> During DN registration, if the ip and the hostname in the DN InetAddress are
> the same (i.e. reverse name lookup falied; see [the
> javadoc|http://docs.oracle.com/javase/6/docs/api/java/net/InetAddress.html#getHostName%28%29]),
> the DN will be disallowed to register, where the DN InetAddress was obtained
> from the socket. It is a performance improvement added by HDFS-3990 to avoid
> unnecessary DNS resolutions.
> We propose to add a conf property for disabling the check. Otherwise,
> clusters without reverse DNS lookup support does not work.
--
This message was sent by Atlassian JIRA
(v6.1#6144)