Varun Vasudev commented on YARN-1856:

[~kasha] - we haven't provided a flag for using oom_control, but we did provide 
a control to set swappiness(which currently is a config setting).

Ideally oom_control, swappiness would be set by the AM/YARN client and should 
be container specific settings.

In general, we need an API to set container executor specific settings - we've 
seen a need for this when adding Docker support and now for CGroups settings as 
well. If you'd like to work on it, is it possible to come up with an 
abstraction that'll solve the Docker issues as well? [~sidharta-s] and I can 
help provide context on the Docker use case.

> cgroups based memory monitoring for containers
> ----------------------------------------------
>                 Key: YARN-1856
>                 URL: https://issues.apache.org/jira/browse/YARN-1856
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager
>    Affects Versions: 2.3.0
>            Reporter: Karthik Kambatla
>            Assignee: Varun Vasudev
>             Fix For: 2.9.0
>         Attachments: YARN-1856.001.patch, YARN-1856.002.patch, 
> YARN-1856.003.patch, YARN-1856.004.patch

This message was sent by Atlassian JIRA

Reply via email to