[ https://issues.apache.org/jira/browse/HDFS-12420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arpit Agarwal updated HDFS-12420: --------------------------------- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Pushed to trunk after verifying the unit test failures are unrelated. Thanks for the contribution [~ajayydv], and thanks everyone else for the ideas and code reviews. > Add an option to disallow 'namenode format -force' > -------------------------------------------------- > > Key: HDFS-12420 > URL: https://issues.apache.org/jira/browse/HDFS-12420 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Ajay Kumar > Assignee: Ajay Kumar > Attachments: HDFS-12420.01.patch, HDFS-12420.02.patch, > HDFS-12420.03.patch, HDFS-12420.04.patch, HDFS-12420.05.patch, > HDFS-12420.06.patch, HDFS-12420.07.patch, HDFS-12420.08.patch, > HDFS-12420.09.patch, HDFS-12420.10.patch, HDFS-12420.11.patch, > HDFS-12420.12.patch > > > Support for disabling NameNode format to avoid accidental formatting of > Namenode in production cluster. If someone really wants to delete the > complete fsImage, they can first delete the metadata dir and then run {code} > hdfs namenode -format{code} manually. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org