[ https://issues.apache.org/jira/browse/YARN-3857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14621824#comment-14621824 ]
mujunchao commented on YARN-3857: --------------------------------- thanks for your reviewing, have updated the test case, thanks! > Memory leak in ResourceManager with SIMPLE mode > ----------------------------------------------- > > Key: YARN-3857 > URL: https://issues.apache.org/jira/browse/YARN-3857 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager > Affects Versions: 2.7.0 > Reporter: mujunchao > Assignee: mujunchao > Priority: Critical > Attachments: YARN-3857-1.patch, YARN-3857-2.patch, > hadoop-yarn-server-resourcemanager.patch > > > We register the ClientTokenMasterKey to avoid client may hold an invalid > ClientToken after RM restarts. In SIMPLE mode, we register > Pair<ApplicationAttemptId, null> , But we never remove it from HashMap, as > unregister only runing while in Security mode, so memory leak coming. -- This message was sent by Atlassian JIRA (v6.3.4#6332)