[
https://issues.apache.org/jira/browse/YARN-11489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17721165#comment-17721165
]
ASF GitHub Bot commented on YARN-11489:
---------------------------------------
chenchun commented on PR #5629:
URL: https://github.com/apache/hadoop/pull/5629#issuecomment-1541286600
@Hexiaoqiao for those futures that `future.get(tokenRenewerThreadTimeout,
TimeUnit.MILLISECONDS);` doesn't trigger a timeout exception stores in futures
ConcurrentHashMap forever.
> Fix memory leak of DelegationTokenRenewer futures in
> DelegationTokenRenewerPoolTracker
> --------------------------------------------------------------------------------------
>
> Key: YARN-11489
> URL: https://issues.apache.org/jira/browse/YARN-11489
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Chun Chen
> Assignee: Chun Chen
> Priority: Major
> Labels: pull-request-available
>
> The future of DelegationTokenRenewer runnable is not removed properly
> previously, it is only removed if the runnable timeouts.
> And a Queue struct is more suitable than a Map struct for storing the futures.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]