[ 
https://issues.apache.org/jira/browse/YARN-3472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14493986#comment-14493986
 ] 

Hudson commented on YARN-3472:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #154 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/154/])
YARN-3472. Fixed possible leak in DelegationTokenRenewer#allTokens. Contributed 
by Rohith Sharmaks (jianhe: rev a1afbc48b53f6bdbd30dc8eb56a7621d49c5d6db)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/security/TestDelegationTokenRenewer.java
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/security/DelegationTokenRenewer.java


> 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
>             Fix For: 2.8.0
>
>         Attachments: 0001-YARN-3472.patch, 0002-YARN-3472.patch
>
>
> 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)

Reply via email to