hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3831) Failure to renew tokens due to test-sources left in classpath
Date Thu, 23 Aug 2012 16:38:42 GMT

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

Jason Lowe updated HDFS-3831:

    Attachment: HDFS-3831.patch

Removing the tests and tests-sources jars from the classpath is a more complete fix, but a
bit risky.  Tracking that approach via HADOOP-8723.

Attaching a patch that's focused on just fixing this particular issue.  This factors out the
{{FakeRenewer}} class so it can be instantiated without any missing dependencies such as Mockito.

Manually tested by hacking up an example job to verify it can instantiate {{FakeRenewer}}
and call its {{handleKind}} method which is what the token service loader will try to do.
 This failed before the change and passed afterwards.
> Failure to renew tokens due to test-sources left in classpath
> -------------------------------------------------------------
>                 Key: HDFS-3831
>                 URL: https://issues.apache.org/jira/browse/HDFS-3831
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 0.23.3, 2.1.0-alpha
>            Reporter: Jason Lowe
>            Priority: Critical
>         Attachments: HDFS-3831.patch

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


View raw message