[
https://issues.apache.org/jira/browse/HDFS-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eli Collins updated HDFS-3164:
------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Target Version/s: (was: 2.0.0)
Status: Resolved (was: Patch Available)
Thanks ATM, I've committed this.
> Move DatanodeInfo#hostName to DatanodeID
> ----------------------------------------
>
> Key: HDFS-3164
> URL: https://issues.apache.org/jira/browse/HDFS-3164
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: data-node
> Reporter: Eli Collins
> Assignee: Eli Collins
> Fix For: 2.0.0
>
> Attachments: hdfs-3164.txt, hdfs-3164.txt
>
>
> Like HDFS-3138 (the ipcPort) the hostName field in DatanodeInfo is not
> ephemeral and should be in DatanodeID. This also allows us to fixup the issue
> where the DatanodeID#name field is overloaded (the DN sets it to a hostname,
> then the NN clobbers it with an IP, and then the DN clobbers it's hostname
> field with this IP). If the DN can specify both a "name" and "hostname" in
> the DatanodeID then this code becomes simpler.
--
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