[jira] [Updated] (YARN-2194) Add Cgroup support for RedHat 7

2015-05-31 Thread Wei Yan (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-2194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei Yan updated YARN-2194:
--
Attachment: YARN-2194-2.patch

In Redhat 7, the controller for cpu is /sys/fs/cgroup/cpu,cpuacct. However, 
this patch cannot be supported by container-executor due to the comma. So the 
patch replaces it to /sys/fs/cgroup/cpu. And /sys/fs/cgroup/cpu has already 
symlinked to /sys/fs/cgroup/cpu,cpuacct.

 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, YARN-2194-2.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)


[jira] [Updated] (YARN-2194) Add Cgroup support for RedHat 7

2015-01-14 Thread bc Wong (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-2194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

bc Wong updated YARN-2194:
--
Description: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.  (was: 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.)

 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)


[jira] [Updated] (YARN-2194) Add Cgroup support for RedHat 7

2014-10-20 Thread Wei Yan (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-2194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei Yan updated YARN-2194:
--
Attachment: YARN-2194-1.patch

A prelim patch that implements the systemd-based cpu resource isolation for 
Redhat 7.
A summary:
(1) Create a new resource handler SystemdLCEResourceHandler. Users can use this 
handle by configuring the field 
yarn.nodemanager.linux-container-executor.resources-handler.class.
(2) For each container, create one slice and one scope. The scope is put inside 
the slice, and cpuShare isolation is also attached to the slice.  All 
container's slices are organized in a root slice (named hadoop_yarn.slice in 
default).

Will add some testcases later.

 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)