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 "Miklos Szegedi (JIRA)" <ji...@apache.org> on 2016/11/07 21:29:58 UTC

[jira] [Created] (YARN-5849) Automatically create YARN control group for pre-mounted cgroups

Miklos Szegedi created YARN-5849:
------------------------------------

             Summary: Automatically create YARN control group for pre-mounted cgroups
                 Key: YARN-5849
                 URL: https://issues.apache.org/jira/browse/YARN-5849
             Project: Hadoop YARN
          Issue Type: Improvement
    Affects Versions: 3.0.0-alpha1, 2.7.3, 3.0.0-alpha2
            Reporter: Miklos Szegedi
            Assignee: Miklos Szegedi
            Priority: Minor


Yarn can be launched with linux-container-executor.cgroups.mount set to false. It will search for the cgroup mount paths set up by the administrator parsing the /etc/mtab file. You can also specify resource.percentage-physical-cpu-limit to limit the CPU resources assigned to containers.
linux-container-executor.cgroups.hierarchy is the root of the settings of all YARN containers. If this is specified but not created YARN will fail at startup:
Caused by: java.io.FileNotFoundException: /cgroups/cpu/hadoop-yarn/cpu.cfs_period_us (Permission denied)
org.apache.hadoop.yarn.server.nodemanager.util.CgroupsLCEResourcesHandler.updateCgroup(CgroupsLCEResourcesHandler.java:263)

This JIRA is about automatically creating YARN control group in the case above. It reduces the cost of administration.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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