You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Rohith Sharma K S (JIRA)" <ji...@apache.org> on 2017/09/06 14:37:00 UTC

[jira] [Created] (YARN-7163) RM crashes with OOM in secured cluster when HA is enabled

Rohith Sharma K S created YARN-7163:
---------------------------------------

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


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
(v6.4.14#64029)

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