You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Tao Yang (JIRA)" <ji...@apache.org> on 2019/07/30 11:07:00 UTC

[jira] [Commented] (YARN-9714) Memory leaks after RM transitioned to standby

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

Tao Yang commented on YARN-9714:
--------------------------------

Attached v1 patch for review. cc: [~cheersyang], [~sunil.g], [~leftnoteasy]

> Memory leaks after RM transitioned to standby
> ---------------------------------------------
>
>                 Key: YARN-9714
>                 URL: https://issues.apache.org/jira/browse/YARN-9714
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: Tao Yang
>            Assignee: Tao Yang
>            Priority: Blocker
>         Attachments: YARN-9714.001.patch
>
>
> Recently RM full GC happened in one of our clusters, after investigating the dump memory and jstack, I found two places in RM may cause memory leaks after RM transitioned to standby:
>  # Release cache cleanup timer in AbstractYarnScheduler never be canceled.
>  # ZooKeeper connection in ZKRMStateStore never be closed.
> To solve those leaks, we should close the connection or cancel the timer when services are stopping.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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