hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2861) HA: checkpointing should verify that the dfs.http.address has been configured to a non-loopback for peer NN
Date Wed, 01 Feb 2012 23:43:53 GMT

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

Aaron T. Myers commented on HDFS-2861:
--------------------------------------

Patch looks mostly good, Todd. One small comment:

# testCheckpointerValidityChecks - you should add a fail() if the StandbyCheckpointer doesn't
throw an exception. As it is, the test could provide a false positive.

+1 once this is addressed.
                
> HA: checkpointing should verify that the dfs.http.address has been configured to a non-loopback
for peer NN
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-2861
>                 URL: https://issues.apache.org/jira/browse/HDFS-2861
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, name-node
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>         Attachments: hdfs-2861.txt, hdfs-2861.txt
>
>
> In an HA setup I was running for the past week, I just noticed that checkpoints weren't
getting properly uploaded, since the SBN was connecting to http://0.0.0.0:50070/ rather than
the correct dfs.http.address. So, it was uploading checkpoints to itself instead of the peer.
We should add sanity checks during startup to ensure that the configuration is correct.

--
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

        

Mime
View raw message