NN Host2NodesMap should use hostnames
-------------------------------------
Key: HDFS-3231
URL: https://issues.apache.org/jira/browse/HDFS-3231
Project: Hadoop HDFS
Issue Type: Improvement
Reporter: Eli Collins
Assignee: Eli Collins
The NN's Host2NodesMap maps "host names" to datanode descriptors. It actually
uses IP addresses and should use hostnames instead, as hostnames are a better
key (eg a Datanode has one hostname but may have multiple IPs). Per HDFS-3216
there's actually a bug in that it's sometimes accessed with IP:port instead of
IP, so that jira should be fixed before this one.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira