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 "Todd Lipcon (JIRA)" <ji...@apache.org> on 2012/08/10 02:00:31 UTC

[jira] [Updated] (HDFS-3276) initializeSharedEdits should have a -nonInteractive flag

     [ https://issues.apache.org/jira/browse/HDFS-3276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HDFS-3276:
------------------------------

    Attachment: hdfs-3276.txt

Attached patch implements -nonInteractive and -force for initializeSharedEdits. It doesn't include a new test, because the existing tests actually already cover this code path. It's just that it was never hooked up to the command line.

I tested this manually, verifying that -nonInteractive won't overwrite an already-formatted shared edits, and that -force will do so.
                
> initializeSharedEdits should have a -nonInteractive flag
> --------------------------------------------------------
>
>                 Key: HDFS-3276
>                 URL: https://issues.apache.org/jira/browse/HDFS-3276
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: ha, name-node
>    Affects Versions: 2.0.0-alpha
>            Reporter: Vinithra Varadharajan
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: hdfs-3276.txt
>
>
> Similar to format and bootstrapStandby, would be nice to have -nonInteractive as an option on initializeSharedEdits

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