[ https://issues.apache.org/jira/browse/HADOOP-11157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gregory Chanan updated HADOOP-11157:
------------------------------------
Attachment: HADOOP-11157.patch
Here's a patch that addresses the issue. I moved the listenerThreadPool to follow the same
lifetime as the keyCache/tokenCache. I'm not sure how to add a testcase because it is a thread
leak; are there any existing tests that look for thread leaks?
> 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: Gregory Chanan
> Attachments: 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
(v6.3.4#6332)
|