[ https://issues.apache.org/jira/browse/HADOOP-7509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123133#comment-13123133
]
Steve Loughran commented on HADOOP-7509:
----------------------------------------
This looks good, and I can see why no tests are needed.
One possible improvement -which I've started doing with connection errors -is have the exception
actually point to a hadoop wiki page entry where more detailed diagnostics and troubleshooting
hints can go in, such as for http://wiki.apache.org/hadoop/NoRouteToHost . Would that make
sense here -and is there already a wiki page to point to?
> 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
> Reporter: Ravi Prakash
> Assignee: Ravi Prakash
> Priority: Trivial
> Fix For: 0.20.206.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