[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: -- Resolution: Fixed Fix Version/s: 2.2.0-alpha 3.0.0 Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Committed to branch-2 and trunk. Thanks. > 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 > Fix For: 3.0.0, 2.2.0-alpha > > 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
[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
[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: -- Status: Patch Available (was: Open) > 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