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

Alejandro Abdelnur commented on HADOOP-9643:
--------------------------------------------

+1, trivial fix.
                
> 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
>            Assignee: 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

Reply via email to