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


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

        

Reply via email to