hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3102) Add CLI tool to initialize the shared-edits dir
Date Fri, 16 Mar 2012 07:05:40 GMT

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

Todd Lipcon commented on HDFS-3102:
-----------------------------------

IMO this is a little different, especially if you consider generalizing to multiple SBNs.
-bootstrapStandby initializes a given SBN assuming that another node is already active and
running. But, the other node won't start up in HA mode if the shared edits dir is not initialized.
So we need some way of initializing the shared edits.

The other option would be to initialize shared edits on startup if it's empty, but it seems
like that's dangerous as you might accidentally have your shared edits dir come unmounted,
and then *think* you're running HA whereas in fact your SBN is completely disconnected from
your ANN.
                
> Add CLI tool to initialize the shared-edits dir
> -----------------------------------------------
>
>                 Key: HDFS-3102
>                 URL: https://issues.apache.org/jira/browse/HDFS-3102
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: ha, name-node
>    Affects Versions: 0.24.0, 0.23.3
>            Reporter: Todd Lipcon
>
> Currently in order to make a non-HA NN HA, you need to initialize the shared edits dir.
This can be done manually by cping directories around. It would be preferable to add a "namenode
-initializeSharedEdits" command to achieve this same effect.

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