hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5338) Add a conf to disable hostname check in DN registration
Date Sat, 12 Oct 2013 03:06:44 GMT

     [ https://issues.apache.org/jira/browse/HDFS-5338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Chris Nauroth updated HDFS-5338:

    Hadoop Flags: Reviewed

+1 for the patch.  Thank you, Nicholas.

[~jagane], you might be interested in this.  You requested a similar feature during discussion
on HDFS-4269.

> 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, 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

View raw message