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

Sunil Govindan commented on YARN-9644:
--------------------------------------

+1 on this patch.

Fix seems fine for both cases which is mentioned here. Committing shortly if 
there are no objections, Thanks [~rohithsharma] for offline review.

> First RMContext always leaked during switch over
> ------------------------------------------------
>
>                 Key: YARN-9644
>                 URL: https://issues.apache.org/jira/browse/YARN-9644
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Bibin A Chundatt
>            Assignee: Bibin A Chundatt
>            Priority: Critical
>         Attachments: YARN-9644.001.patch, YARN-9644.002.patch, 
> YARN-9644.003.patch
>
>
> As per my understanding following 2 issues causes the issue.
> * WebApp holds the reference to First applicationMasterServer instance, which 
> has rmcontext with ActiveServiceContext (holds RMApps + nodes map). WebApp 
> remains to life time of RM process.
> * On transistion to active RMNMInfo object is registered inĀ  MBean and never 
> unregistered on transitionToStandBy
> On transistion to Standby and again based to active new RMContext gets 
> created, but above 2 issues causes first RMcontext persist still RMShutdown.



--
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