hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7163) RM crashes with OOM in secured cluster when HA is enabled
Date Thu, 07 Sep 2017 09:30:00 GMT

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

Sunil G commented on YARN-7163:

Thank you [~rohithsharma] for detailed analysis.

It seems that old reference of {{rmContext}} is still not yet dereferenced when RM moved from
Active to Standby. Hence when this RM moves back to Active again, we have a stale reference
which have this applications reference, Nice catch.

I agree with your analysis, we should not keep the reference of RMContext in services which
will run with same lifetime as of jvm.

> RM crashes with OOM in secured cluster when HA is enabled
> ---------------------------------------------------------
>                 Key: YARN-7163
>                 URL: https://issues.apache.org/jira/browse/YARN-7163
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: Rohith Sharma K S
>            Assignee: Rohith Sharma K S
>         Attachments: suspect-1.png, suspect-2.png, YARN-7163.01.patch, YARN-7163.02.patch
> It is observed that RM crashes with heap space OOM in secure cluster(http authentication
is kerborse) when RM HA is enabled. 
> Scenario is 
> 1. Start RM in HA secure mode. Lets say RM1 is active mode.
> 2. Run many applications so that it uses greater than 50% of heap space configured. Lets
say, if heap space is 2GB, then run applications that occupy 1.5GB of heap space. 
> 3. Switch RM to StandBy and bring back to Active! While recovering applications from
state store, RM crashes with OOM. 
> *Note* : This issue will happen only when RM is started as ACTIVE directly. (not switched
from standby to active during start of JVM)
> Heap dump shows that RMAuthenticationFilter holds 60% heap space! And other 40% held
by RMAppState which is during recovering from state store. This exceeds the heap space and
crashes with OOM. 

This message was sent by Atlassian JIRA

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

View raw message