Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
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), 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.
Attachments
Issue Links
- links to