You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Rohith (JIRA)" <ji...@apache.org> on 2015/04/09 23:57:12 UTC
[jira] [Assigned] (YARN-3472) Possible leak in
DelegationTokenRenewer#allTokens
[ https://issues.apache.org/jira/browse/YARN-3472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rohith reassigned YARN-3472:
----------------------------
Assignee: Rohith
> Possible leak in DelegationTokenRenewer#allTokens
> --------------------------------------------------
>
> Key: YARN-3472
> URL: https://issues.apache.org/jira/browse/YARN-3472
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Jian He
> Assignee: Rohith
>
> When old token is expiring and being removed, it's not removed from the allTokens map, resulting in possible leak.
> {code}
> if (t.token.getKind().equals(new Text("HDFS_DELEGATION_TOKEN"))) {
> iter.remove();
> t.cancelTimer();
> LOG.info("Removed expiring token " + t);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)