You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jonathan Hung (JIRA)" <ji...@apache.org> on 2019/05/14 18:40:01 UTC

[jira] [Comment Edited] (YARN-2194) Cgroups cease to work in RHEL7

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

Jonathan Hung edited comment on YARN-2194 at 5/14/19 6:39 PM:
--------------------------------------------------------------

Attaching a branch-2.7 patch. (Ref: YARN-9518)

Mostly clean backport - there's no PrivilegedOperation.* classes in 2.7 so I put the delimiter in LinuxContainerExecutor. Also functionality for concatenating multiple tasks files (in PrivilegedOperationExecutor) doesn't exist in 2.7 so that part doesn't need to be ported either.


was (Author: jhung):
Attaching a branch-2.7 patch. (Ref: YARN-9518)

> 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
>             Fix For: 2.8.0, 3.0.0-alpha1
>
>         Attachments: YARN-2194-1.patch, YARN-2194-2.patch, YARN-2194-3.patch, YARN-2194-4.patch, YARN-2194-5.patch, YARN-2194-6.patch, YARN-2194-7.patch, YARN-2194-branch-2.7.001.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
(v7.6.3#76005)

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