Srimanth Gunturi created AMBARI-10620:
-----------------------------------------
Summary: YARN: Integrate cgroups with Ambari
Key: AMBARI-10620
URL: https://issues.apache.org/jira/browse/AMBARI-10620
Project: Ambari
Issue Type: Task
Components: contrib
Affects Versions: 2.1.0
Reporter: Srimanth Gunturi
Assignee: Srimanth Gunturi
Fix For: 2.1.0
If the user checks 'Enable CGroups' in the YARN Config page, then configure the
following by default. These properties should also be available in the
'Advanced' tab of YARN configs. In that 'Advanced' tab the user can override
these settings if needed.
In yarn-site.xml, set:
Property: yarn.nodemanager.container-executor.class
Value: org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor
Property: yarn.nodemanager.container-executor.group
Value: hadoop
Property: yarn.nodemanager.container-executor.resources-handler.class
Value: org.apache.hadoop.yarn.server.nodemanager.util.CgroupsLCEResourcesHandler
Property: yarn.nodemanager.container-executor.cgroups.hierarchy
Value: /yarn
Property: yarn.nodemanager.container-executor.cgroups.mount
Value: true
Property: yarn.nodemanager.linux-container-executor.cgroups.mount-path
Value: /cgroup
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)