[ 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.3.patch Uploaded new patch which addresses [~jlowe] comments. 1. Dropped yarn.nodemanager.containers-cpu-cores, only percentage can be specified. 2. Renamed yarn.nodemanager.containers-cpu-percentage to yarn.nodemanger.containers-limit-cpu-percentage 3. Added log message if we are unable to use Cgroups because the values for period or quota are too low. 4. Added check for minimum value of quota 5. Don't set any period or quota settings if all CPUs are being used. 6. Renamed getContainerCores to getContainersCores > 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, apache-yarn-2440.3.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)