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

Xiao Chen commented on HADOOP-13174:
------------------------------------

Interestingly, the failed 
{{org.apache.hadoop.security.authentication.server.TestAuthenticationFilter.testManagementOperation}}
 is related: it resets the mockito object (which by itself is a bad smell, but 
I'd like to keep the scope of this jira small), and in a later call, mockito 
returns null on {{getRequestURL()}}. This can never happen in [real 
code|http://grepcode.com/file/repo1.maven.org/maven2/org.eclipse.jetty.orbit/javax.servlet/2.5.0.v201103041518/javax/servlet/http/HttpUtils.java#281],
 so I updated the test.

Other failed tests are unrelated.

> Add more debug logs for delegation tokens and authentication
> ------------------------------------------------------------
>
>                 Key: HADOOP-13174
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13174
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Xiao Chen
>            Assignee: Xiao Chen
>            Priority: Minor
>         Attachments: HADOOP-13174.01.patch, HADOOP-13174.02.patch, 
> HADOOP-13174.03.patch, HADOOP-13174.04.patch
>
>
> Recently I debugged several authentication related problems, and found that 
> the debug logs are not enough to identify a problem.
> This jira improves it by adding more debug/trace logs along the line.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to