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

Miklos Szegedi commented on YARN-8461:
--------------------------------------

Thank you for the patch [~haibochen].
{code:java}
if (strictMemoryEnforcement && elasticMemoryEnforcement) {
{code}
In the else of this condition if either of them is set, we should return.

> Support strict memory control on individual container with elastic control 
> memory mechanism
> -------------------------------------------------------------------------------------------
>
>                 Key: YARN-8461
>                 URL: https://issues.apache.org/jira/browse/YARN-8461
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: nodemanager
>    Affects Versions: 3.2.0
>            Reporter: Haibo Chen
>            Assignee: Haibo Chen
>            Priority: Major
>         Attachments: YARN-8461.00.patch, YARN-8461.01.patch, 
> YARN-8461.02.patch
>
>
> YARN-4599 adds elastic memory control that disables oom killer for the root 
> container cgroup. Hence, all containers have their oom killer disabled 
> because they inherit the setting from the root container cgroup. Hence, when 
> strict memory control on individual containers is also enabled, the container 
> will be frozen but not killed. We can let the container monitoring thread to 
> take care of the frozen containers.



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