You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2013/06/19 22:24:21 UTC

[jira] [Commented] (HADOOP-9643) org.apache.hadoop.security.SecurityUtil calls toUpperCase(Locale.getDefault()) as well as toLowerCase(Locale.getDefault()) on hadoop.security.authentication value.

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

Mark Miller commented on HADOOP-9643:
-------------------------------------

I ran into this in https://issues.apache.org/jira/browse/SOLR-4916 - Lucene/Solr use random timezones and locales to catch bugs and that's exposing this issue.
                
> org.apache.hadoop.security.SecurityUtil calls toUpperCase(Locale.getDefault()) as well as toLowerCase(Locale.getDefault()) on hadoop.security.authentication value.
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9643
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9643
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.5-alpha
>            Reporter: Mark Miller
>            Priority: Minor
>         Attachments: HADOOP-9643.patch, HADOOP-9643.patch
>
>
> With the wrong locale, something like hadoop.security.authentication=simple will cause an IllegalArgumentException because "simple".toUpperCase(Locale.getDefault()) may not equal SIMPLE.

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