[
https://issues.apache.org/jira/browse/HDFS-5338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13791556#comment-13791556
]
Kihwal Lee commented on HDFS-5338:
----------------------------------
bq. changes DatanodeManager.isNameResolved(..) to use
NetUtils.isLocalAddress(..).
It changes the default behavior. It will allow users to run a single node
cluster using a non-loopback local IP address that has no corresponding dns
entry. Is that the intention?
> 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
> 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.
--
This message was sent by Atlassian JIRA
(v6.1#6144)