hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13174) Add more debug logs for delegation tokens and authentication
Date Fri, 20 May 2016 23:14:12 GMT

    [ 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,
> 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

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message