[jira] [Updated] (HDFS-1958) Format confirmation prompt should be more lenient of its input

2011-05-19 Thread Todd Lipcon (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon updated HDFS-1958:
--

   Resolution: Fixed
Fix Version/s: (was: 0.22.0)
   0.23.0
 Hadoop Flags: [Reviewed]
   Status: Resolved  (was: Patch Available)

Thanks for review, Eli. I elected to only commit this to trunk since it's a new 
feature/improvement.

> 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


[jira] [Updated] (HDFS-1958) Format confirmation prompt should be more lenient of its input

2011-05-18 Thread Todd Lipcon (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon updated HDFS-1958:
--

Status: Patch Available  (was: Open)

> 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.22.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


[jira] [Updated] (HDFS-1958) Format confirmation prompt should be more lenient of its input

2011-05-18 Thread Todd Lipcon (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon updated HDFS-1958:
--

Attachment: hdfs-1958.txt

Attached patch makes the following change:
- all confirmation prompts accept "y" or "yes", case-insensitive, as a positive 
response
- "n" or "no" act as negative responses
- anything else will repeat the prompt until a valid response is given

> 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.22.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