hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Chanan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11157) ZKDelegationTokenSecretManager never shuts down listenerThreadPool
Date Tue, 04 Nov 2014 18:19:34 GMT

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

Gregory Chanan commented on HADOOP-11157:

Looks like it's only the one test (I increased the timeout so all the tests would run):

Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2,628.821 sec <<<
FAILURE! - in org.apache.hadoop.security.token.delegation.TestZKDelegationTokenSecretManager
 Time elapsed: 7.557 sec  <<< FAILURE!
java.lang.AssertionError: Expected InvalidToken
	at org.junit.Assert.fail(Assert.java:88)
	at org.apache.hadoop.security.token.delegation.TestZKDelegationTokenSecretManager.testMultiNodeOperations(TestZKDelegationTokenSecretManager.java:97)

Results :

Failed tests: 
  TestZKDelegationTokenSecretManager.testMultiNodeOperations:97 Expected InvalidToken

Tests run: 5, Failures: 1, Errors: 0, Skipped: 0

Note, the line number is off because I modified the test to run in loops.  It's this line:

> ZKDelegationTokenSecretManager never shuts down listenerThreadPool
> ------------------------------------------------------------------
>                 Key: HADOOP-11157
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11157
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.6.0
>            Reporter: Gregory Chanan
>            Assignee: Arun Suresh
>         Attachments: HADOOP-11157.2.patch, HADOOP-11157.3.patch, HADOOP-11157.4.patch,
HADOOP-11157.patch, HADOOP-11157.patch
> I'm trying to integrate Solr with the DelegationTokenAuthenticationFilter and running
into this issue.  The solr unit tests look for leaked threads and when I started using the
ZKDelegationTokenSecretManager it started reporting leaks.  Shuting down the listenerThreadPool
after the objects that use it resolves the leak threads errors.

This message was sent by Atlassian JIRA

View raw message