You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Aniket Mokashi (JIRA)" <ji...@apache.org> on 2018/07/31 23:03:00 UTC

[jira] [Created] (HDFS-13775) Add a conf property to retry dns reverse lookups during datanode registration

Aniket Mokashi created HDFS-13775:
-------------------------------------

             Summary: Add a conf property to retry dns reverse lookups during datanode registration
                 Key: HDFS-13775
                 URL: https://issues.apache.org/jira/browse/HDFS-13775
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode
            Reporter: Aniket Mokashi


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. However, in an environment where DNS lookups can be flaky this can cause datanode registration to fail permanently.

We propose to add a conf property to retry DNS reverse lookup during DN registration. Otherwise, clusters with flaky reverse DNS lookup will fail permanently.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org