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

Íñigo Goiri commented on HDFS-13805:
------------------------------------

bq. I don't like wiping all JNs with a single mis-executed command.

Sure, but as it is right now, we are letting the NNs being reimaged already.
Another option it's to add an extra flag like the transitionToActive which 
includes forceManual.

> Journal Nodes should allow to format non-empty directories with "-force" 
> option
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-13805
>                 URL: https://issues.apache.org/jira/browse/HDFS-13805
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: journal-node
>    Affects Versions: 3.0.0-alpha4
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>            Priority: Major
>         Attachments: HDFS-13805.001.patch
>
>
> HDFS-11112 completely restricted to re-format journalnode, but it should be 
> allowed when *"-force"* option is given. If user feel force option can 
> accidentally delete the data then he can disable it by configuring 
> "*dfs.reformat.disabled*"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to