hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4623) NameNode.parseArguments() should use EN as the locale for case checks of arguments
Date Fri, 22 Mar 2013 14:03:15 GMT

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

Steve Loughran commented on HDFS-4623:
--------------------------------------

Actually I'm wrong: {{-nonInteractive}} and {{-importCheckpoint}} are both mixed case -and
that letter "I" is the notorious troublespot for some locales. I do need to convert NONINTERACTIVE
to lower before the check. cancelling the patch
                
> NameNode.parseArguments() should use EN as the locale for case checks of arguments
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-4623
>                 URL: https://issues.apache.org/jira/browse/HDFS-4623
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.0.3-alpha
>            Reporter: Steve Loughran
>            Priority: Trivial
>         Attachments: HDFS-4623.patch
>
>
> {{NameNode.parseArguments()}} uses {{equalsIgnoreCase()}} to case convert arguments on
the command line. This will not work consistently across locales, especially those that don't
have {{"I".toLower()=="i").
> Fix is trivial.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message