[ https://issues.apache.org/jira/browse/YARN-2194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14568005#comment-14568005 ]
Matthew Jacobs commented on YARN-2194: -------------------------------------- While this may work for the default RHEL7 configuration, this will break if someone happens to have mounted the same controllers to "/sys/fs/cgroup/cpuacct,cpu", or if the user mounted other controllers at the same path as well. What do you think about creating the symlink from "/sys/fs/cgroup/cpu" to the mounted path for cpu in all cases (unless it was actually mounted at /sys/fs/cgroup/cpu of course). > Cgroups cease to work in RHEL7 > ------------------------------ > > Key: YARN-2194 > URL: https://issues.apache.org/jira/browse/YARN-2194 > Project: Hadoop YARN > Issue Type: Bug > Components: nodemanager > Affects Versions: 2.7.0 > Reporter: Wei Yan > Assignee: Wei Yan > Priority: Critical > Attachments: YARN-2194-1.patch, YARN-2194-2.patch, YARN-2194-3.patch > > > In RHEL7, the CPU controller is named "cpu,cpuacct". The comma in the > controller name leads to container launch failure. > RHEL7 deprecates libcgroup and recommends the user of systemd. However, > systemd has certain shortcomings as identified in this JIRA (see comments). > This JIRA only fixes the failure, and doesn't try to use systemd. -- This message was sent by Atlassian JIRA (v6.3.4#6332)