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

Aaron T. Myers commented on HADOOP-7509:
----------------------------------------

The error message introduced in this patch appears to reverse the references to 
the configuration keys:

{code}
AccessControlException ae = new AccessControlException("Authorization ("
  + CommonConfigurationKeys.HADOOP_SECURITY_AUTHENTICATION
  + ") is enabled but authentication ("
  + CommonConfigurationKeys.HADOOP_SECURITY_AUTHORIZATION
  + ") is configured as simple. Please configure another method "
  + "like kerberos or digest.");
{code}

Could someone please either revert this patch from the branches where it was 
committed or open a new JIRA to address this issue ASAP?
                
> Improve message when Authentication is required
> -----------------------------------------------
>
>                 Key: HADOOP-7509
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7509
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 0.20.204.0, 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>            Priority: Trivial
>             Fix For: 0.20.206.0, 0.24.0
>
>         Attachments: HADOOP-7509.1.patch, HADOOP-7509.2.branch-0.23.patch, 
> HADOOP-7509.2.patch
>
>
> The message when security is enabled and authentication is configured to be 
> simple is not explicit enough. It simply prints out "Authentication is 
> required" and prints out a stack trace. The message should be "Authorization 
> (hadoop.security.authorization) is enabled but authentication 
> (hadoop.security.authentication) is configured as simple. Please configure 
> another method."

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to