[ 
https://issues.apache.org/jira/browse/HADOOP-7509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravi Prakash updated HADOOP-7509:
---------------------------------

    Attachment: HADOOP-7509.1.patch

The log message looks like
{noformat}
2011-04-04 17:52:48,916 INFO org.apache.hadoop.ipc.Server: IPC Server listener 
on 8020: readAndProcess threw exception
org.apache.hadoop.security.AccessControlException: Authentication is required. 
Count of bytes read: 0
org.apache.hadoop.security.AccessControlException: Authentication is required
        at 
org.apache.hadoop.ipc.Server$Connection.readAndProcess(Server.java:1121)
        at org.apache.hadoop.ipc.Server$Listener.doRead(Server.java:536)
        at org.apache.hadoop.ipc.Server$Listener$Reader.run(Server.java:343)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
{noformat}

This confuses users. The error can be more detailed. Attaching a patch to do 
so. Can someone please review and commit it? No tests attached because its too 
small a change.


> 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
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to