[jira] [Updated] (HDFS-12420) Add an option to disallow 'namenode format -force'
[ https://issues.apache.org/jira/browse/HDFS-12420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Junping Du updated HDFS-12420: -- Fix Version/s: (was: 2.8.2) 2.8.3 > 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 > Fix For: 2.9.0, 2.8.3, 2.7.5, 3.0.0, 3.1.0 > > 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
[jira] [Updated] (HDFS-12420) Add an option to disallow 'namenode format -force'
[ https://issues.apache.org/jira/browse/HDFS-12420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhe Zhang updated HDFS-12420: - Fix Version/s: 3.0.0 2.7.5 2.8.2 2.9.0 Thanks for the work Ajay! This is a useful improvement for lower versions. I backported to 3.0.0~2.7.5 > 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 > Fix For: 2.9.0, 2.8.2, 2.7.5, 3.0.0, 3.1.0 > > 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
[jira] [Updated] (HDFS-12420) Add an option to disallow 'namenode format -force'
[ https://issues.apache.org/jira/browse/HDFS-12420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhe Zhang updated HDFS-12420: - Fix Version/s: 3.1.0 > 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 > Fix For: 3.1.0 > > 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
[jira] [Updated] (HDFS-12420) Add an option to disallow 'namenode format -force'
[ 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
[jira] [Updated] (HDFS-12420) Add an option to disallow 'namenode format -force'
[ https://issues.apache.org/jira/browse/HDFS-12420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ajay Kumar updated HDFS-12420: -- Attachment: HDFS-12420.12.patch [~daryn], thanks for review. Removed log msg from {{NameNode#format}} in patch v12. > 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
[jira] [Updated] (HDFS-12420) Add an option to disallow 'namenode format -force'
[ https://issues.apache.org/jira/browse/HDFS-12420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ajay Kumar updated HDFS-12420: -- Attachment: HDFS-12420.11.patch Removed unused imports to fix checkstyle issues. Fixed TestClusterId test case. Other two are unrelated. > 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 > > > 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
[jira] [Updated] (HDFS-12420) Add an option to disallow 'namenode format -force'
[ https://issues.apache.org/jira/browse/HDFS-12420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ajay Kumar updated HDFS-12420: -- Attachment: (was: HDFS-12420.10.patch) > 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 > > > 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
[jira] [Updated] (HDFS-12420) Add an option to disallow 'namenode format -force'
[ https://issues.apache.org/jira/browse/HDFS-12420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ajay Kumar updated HDFS-12420: -- Attachment: HDFS-12420.10.patch > 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 > > > 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
[jira] [Updated] (HDFS-12420) Add an option to disallow 'namenode format -force'
[ https://issues.apache.org/jira/browse/HDFS-12420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ajay Kumar updated HDFS-12420: -- Attachment: HDFS-12420.10.patch > 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 > > > 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
[jira] [Updated] (HDFS-12420) Add an option to disallow 'namenode format -force'
[ https://issues.apache.org/jira/browse/HDFS-12420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ajay Kumar updated HDFS-12420: -- Attachment: (was: HDFS-12420.10.patch) > 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 > > > 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
[jira] [Updated] (HDFS-12420) Add an option to disallow 'namenode format -force'
[ https://issues.apache.org/jira/browse/HDFS-12420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ajay Kumar updated HDFS-12420: -- Attachment: HDFS-12420.10.patch > 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 > > > 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
[jira] [Updated] (HDFS-12420) Add an option to disallow 'namenode format -force'
[ https://issues.apache.org/jira/browse/HDFS-12420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Agarwal updated HDFS-12420: - Hadoop Flags: (was: Incompatible change) > 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 > > > 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
[jira] [Updated] (HDFS-12420) Add an option to disallow 'namenode format -force'
[ https://issues.apache.org/jira/browse/HDFS-12420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Agarwal updated HDFS-12420: - Summary: Add an option to disallow 'namenode format -force' (was: Add an optional to disallow 'namenode format -force') > 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 > > > 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