[
https://issues.apache.org/jira/browse/HDFS-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243248#comment-13243248
]
Aaron T. Myers commented on HDFS-3164:
--------------------------------------
+1, the update patch (sans DFS_NAMENODE_UPGRADE_PERMISSION_* key changes) looks
good to me.
> 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
> 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