[
https://issues.apache.org/jira/browse/AMBARI-10620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Srimanth Gunturi updated AMBARI-10620:
--------------------------------------
Attachment: AMBARI-10620.patch
> 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
>
> Attachments: AMBARI-10620.patch
>
>
> 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)