[
https://issues.apache.org/jira/browse/HDFS-5338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13795471#comment-13795471
]
Hudson commented on HDFS-5338:
------------------------------
SUCCESS: Integrated in Hadoop-trunk-Commit #4607 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/4607/])
HDFS-5338. Add a conf to disable hostname check in datanode registration.
(szetszwo:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1532468)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeManager.java
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/protocol/DisallowedDatanodeException.java
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
> 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)