hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5237) Get rid of nodes' registration names
Date Sat, 21 Sep 2013 02:34:52 GMT

    [ https://issues.apache.org/jira/browse/HDFS-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13773692#comment-13773692
] 

Colin Patrick McCabe commented on HDFS-5237:
--------------------------------------------

Hi Phillip,

I think the idea behind this JIRA is to get rid of DataNodes using totally bogus strings to
identify themselves to the NameNode.  This creates a lot of problems for us in the NameNode
code because we can't rely on the datanode registration name to be an actual hostname.  We
also end up tracking the "real hostname" alongside the "registration name", which is highly
confusing to people reading the code.  If {{dfs.datanode.hostname}} was re-purposed to just
select which hostname the DN wanted to use, out of several available choices which all resolved
to the DN, I think we would all be find with that.  This should be just as simple as just
adding a check that the given string actually resolves to the IP address the DN registration
was sent on.
                
> Get rid of nodes' registration names
> ------------------------------------
>
>                 Key: HDFS-5237
>                 URL: https://issues.apache.org/jira/browse/HDFS-5237
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Junping Du
>             Fix For: 3.0.0
>
>         Attachments: HDFS-5237.patch
>
>
> Per discussion in HDFS-5208 and may be some other discussions before, Node's registration
name is pretty confusing and shouldn't be used in production environment as topology resolving
issues. So we remove related configuration dfs.datanode.hostname or its old one "slave.host.name".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message