hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Yan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2194) Add Cgroup support for RedHat 7
Date Tue, 21 Oct 2014 16:20:34 GMT

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

Wei Yan commented on YARN-2194:
-------------------------------

Thanks your comments, [~beckham007].
bq. startSystemdSlice/stopSystemdSlice needs root privilege?
Yes, "systemctl start/stop slice" needs root privilege.
bq. Let container-executor to run "sudo systemctl start "?
You mean adding start/stop slice function in the container-executor, and let SystemdLCEResourceHandler
invokes these functions?

> Add Cgroup support for RedHat 7
> -------------------------------
>
>                 Key: YARN-2194
>                 URL: https://issues.apache.org/jira/browse/YARN-2194
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Wei Yan
>            Assignee: Wei Yan
>         Attachments: YARN-2194-1.patch
>
>
> In previous versions of RedHat, we can build custom cgroup hierarchies with use of the
cgconfig command from the libcgroup package. From RedHat 7, package libcgroup is deprecated
and it is not recommended to use it since it can easily create conflicts with the default
cgroup hierarchy. The systemd is provided and recommended for cgroup management. We need to
add support for this.



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

Mime
View raw message