[
https://issues.apache.org/jira/browse/HDFS-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036311#comment-13036311
]
Tsz Wo (Nicholas), SZE commented on HDFS-1958:
----------------------------------------------
> well, fsck for example supports either 'y' or 'Y' for yes, and 'n' or 'N' for
> no.
fsck and format are different: it is okay to accidentally click "y" for fsck
but not for format.
I was asking if this is a good feature in [my previous
comment|https://issues.apache.org/jira/browse/HDFS-1958?focusedCommentId=13035881&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13035881].
I tried to change a few years back but I heard one argument saying that the
command was deliberately designed for preventing accidentally format.
BTW, I think this should be classified as a "newbie" issue once we have decided
to do it.
> Format confirmation prompt should be more lenient of its input
> --------------------------------------------------------------
>
> Key: HDFS-1958
> URL: https://issues.apache.org/jira/browse/HDFS-1958
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: name-node
> Affects Versions: 0.22.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 0.23.0
>
> Attachments: hdfs-1958.txt
>
>
> As reported on the mailing list, the namenode format prompt only accepts 'Y'.
> We should also accept 'y' and 'yes' (non-case-sensitive).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira