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

Karthik Kambatla commented on YARN-2194:
----------------------------------------

Verified the patch works. Can we add more comments to say clarify why the patch 
replaces cpu,cpuacct with cpu? May be something along the lines of - "In RHEL7, 
the CPU controller is named 'cpu,cpuacct'. The comma in the controller name 
leads to container launch failure. Symlinks 'cpu' and 'cpuacct' point to 
'cpu,cpuacct'. Using 'cpu' solves the issue."

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

Reply via email to