Steve Vaughan created HDFS-16685:
------------------------------------
Summary: DataNode registration fails because getHostName returns
an IP address
Key: HDFS-16685
URL: https://issues.apache.org/jira/browse/HDFS-16685
Project: Hadoop HDFS
Issue Type: Improvement
Components: namenode
Environment: Run in Kubernetes using Java 11.
Reporter: Steve Vaughan
The call to dnAddress.getHostName() can return an IP address encoded as a
string, which is then rejected because unresolved addresses can result in
performance impacts due to repetitive DNS lookups later. We can detect when
this situation occurs, and perform a DNS reverse name lookup to fix the issue.
Bouncing a DataNode in a managed environment results in a new IP address
allocation, and the new instance fails to register with the NameNode.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]