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

Philip Langdale commented on YARN-2194:
---------------------------------------

You can remount controllers if you retain the same combination as the existing 
mount point, so I guess you could replace the ',' with something your parsing 
code can handle (or you could fix the parsing code). In general, life is a lot 
easier if you can avoid remounting as you then don't have to worry about 
managing their lifecycle.

I'd argue the most robust thing to do is discover the existing mount point from 
/proc/mounts and then use it (assuming the comma parsing can be fixed) if it's 
present (and don't forget to respect the NodeManager's cgroup paths from 
/proc/self/mounts)

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

Reply via email to