You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Jakob Homan (JIRA)" <ji...@apache.org> on 2010/10/20 01:03:30 UTC
[jira] Commented: (HDFS-1464) Fix reporting of 2NN address when
dfs.secondary.http.address is default (wildcard)
[ https://issues.apache.org/jira/browse/HDFS-1464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922772#action_12922772 ]
Jakob Homan commented on HDFS-1464:
-----------------------------------
HDFS-1080 discussed that the change was backwards compatible and aimed at making more of the configs explicit rather than implicit, which can lead to confusion (which lead to the bug). Specifically, in the situation that caused HDFS-1080, where the SNN was ip aliased and the config value not specified, this patch would leave us in the same state as before 1080 - using the default value, which is incorrect under security, and not able to transfer the merged image. For this reason, I am reluctant to let this go in its current form. This distinction only makes a difference under security; maybe that should be considered.
> Fix reporting of 2NN address when dfs.secondary.http.address is default (wildcard)
> ----------------------------------------------------------------------------------
>
> Key: HDFS-1464
> URL: https://issues.apache.org/jira/browse/HDFS-1464
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.22.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Attachments: hdfs-1464.txt
>
>
> HDFS-1080 broke the way that the 2NN identifies its own hostname to the NN during checkpoint upload. It used to use the local hostname, which as HDFS-1080 pointed out was error prone if it had multiple interfaces, etc. But now, with the default setting of dfs.secondary.http.address, the 2NN reports "0.0.0.0", which won't work either.
> We should look for the wildcard bind address and use the local hostname in that case, like we used to.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.