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

Omkar Vinit Joshi commented on YARN-1189:
-----------------------------------------

Yes this is clearly a leak... I had this locally when I was working on 
it..somehow missed the change.. It should be called when application completely 
finishes..Attaching a quick patch...
                
> NMTokenSecretManagerInNM is not being told when applications have finished 
> ---------------------------------------------------------------------------
>
>                 Key: YARN-1189
>                 URL: https://issues.apache.org/jira/browse/YARN-1189
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.1.0-beta
>            Reporter: Jason Lowe
>            Assignee: Omkar Vinit Joshi
>
> The {{appFinished}} method is not being called when applications have 
> finished.  This causes a couple of leaks as {{oldMasterKeys}} and 
> {{appToAppAttemptMap}} are never being pruned.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to