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

Colin Patrick McCabe commented on HDFS-8944:
--------------------------------------------

This seems inconsistent with other UNIX commands.  "LS" is not the same as 
"Ls", is not the same as "ls".  This also might create confusion since if 
people read a tutorial about Hadoop telling them to use RestoreFailedStorage 
instead of restoreFailedStorage, it will work with the new version, but not the 
old.  Of course, there is nothing in the compatibility policy preventing us 
from doing this-- clearly not, otherwise new additions to Hadoop would be 
impossible.  But it just seems unnecessary in this case.

I agree that there are a few ambiguous cases.  For example, "metasave" should 
probably have been "metaSave" and "refreshNamenodes" should probably have been 
"refreshNameNodes".  How about just checking for the few alternatives that are 
ambiguous, rather than making everything case-insensistive and allowing in 
silly things like {{fInAliZeUpGrAdE}}?

> Make dfsadmin command options case insensitive
> ----------------------------------------------
>
>                 Key: HDFS-8944
>                 URL: https://issues.apache.org/jira/browse/HDFS-8944
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Akira AJISAKA
>            Assignee: Akira AJISAKA
>         Attachments: HDFS-8944.001.patch
>
>
> Now dfsadmin command options are case sensitive except allowSnapshot and  
> disallowSnapshot. It would be better to make them case insensitive for 
> usability and consistency.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to