hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3472) Possible leak in DelegationTokenRenewer#allTokens
Date Sat, 25 Apr 2015 11:35:55 GMT

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

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

FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #165 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/165/])
Moving YARN-3351, YARN-3382, YARN-3472, MAPREDUCE-6238 to the 2.7.1 CHANGES.txt (vinodkv:
rev 2f82ae042a6f3110742aaa57c076bb9ebd7888d1)
* hadoop-yarn-project/CHANGES.txt
* hadoop-mapreduce-project/CHANGES.txt


> 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.7.1
>
>         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)

Mime
View raw message