[
https://issues.apache.org/jira/browse/YARN-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Varun Vasudev updated YARN-2440:
--------------------------------
Attachment: apache-yarn-2440.2.patch
Uploaded a new patch. It adds two new parameters to the YARN configuration.
1. yarn.nodemanager.containers-cpu-cores - can be set to the number of cores
admins want YARN containers to use.
2. yarn.nodemanager.containers-cpu-percentage - can be set a percentage of
overall CPU that admins want YARN containers to use.
By default, we use all cores.
I've also updated the description of yarn.nodemanager.resource.cpu-vcores to
what I think is a more accurate version.
> Cgroups should allow YARN containers to be limited to allocated cores
> ---------------------------------------------------------------------
>
> Key: YARN-2440
> URL: https://issues.apache.org/jira/browse/YARN-2440
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Varun Vasudev
> Assignee: Varun Vasudev
> Attachments: apache-yarn-2440.0.patch, apache-yarn-2440.1.patch,
> apache-yarn-2440.2.patch, screenshot-current-implementation.jpg
>
>
> The current cgroups implementation does not limit YARN containers to the
> cores allocated in yarn-site.xml.
--
This message was sent by Atlassian JIRA
(v6.2#6252)