[
https://issues.apache.org/jira/browse/HDFS-5338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo (Nicholas), SZE updated HDFS-5338:
-----------------------------------------
Description:
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.
was:
During DN registration, if the ip and the hostname in the DN InetAddress are
different, 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.
> 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
> Attachments: h5338_20131009.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)