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

Sunil Govindan commented on YARN-9642:
--------------------------------------

Good catch. Yes, this timer ideally need to be cancelled for a better cleanup.

patch seems fine. + [~cheersyang] [~leftnoteasy] for additional thoughts

> AbstractYarnScheduler#clearPendingContainerCache could run even after 
> transitiontostandby
> -----------------------------------------------------------------------------------------
>
>                 Key: YARN-9642
>                 URL: https://issues.apache.org/jira/browse/YARN-9642
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: Bibin A Chundatt
>            Assignee: Bibin A Chundatt
>            Priority: Critical
>         Attachments: YARN-9642.001.patch, image-2019-06-22-16-05-24-114.png
>
>
> The TimeTask could hold the reference of Scheduler in case of fast switch 
> over too.
>  AbstractYarnScheduler should make sure scheduled Timer cancelled on 
> serviceStop.
> Causes memory leak too
> !image-2019-06-22-16-05-24-114.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to