[ https://issues.apache.org/jira/browse/MAPREDUCE-4334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Ferguson updated MAPREDUCE-4334: --------------------------------------- Attachment: MAPREDUCE-4334-pre2-with_cpu.patch This is an amended version of pre2 which also enforces CPU weights, as set by MAPREDUCE-4327. Of course, since applications currently do not request any cores, it happily enforces a limit of 0, preventing tasks from running. :-) Adding reasonable default CPU core requests should probably be part of MAPREDUCE-4327. It can be tested using the same procedure as above (for the pre2 version), with the additional step of mounting the cpu cgroup. > Add support for CPU isolation/monitoring of containers > ------------------------------------------------------ > > Key: MAPREDUCE-4334 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4334 > Project: Hadoop Map/Reduce > Issue Type: Sub-task > Reporter: Arun C Murthy > Assignee: Arun C Murthy > Attachments: MAPREDUCE-4334-pre1.patch, > MAPREDUCE-4334-pre2-with_cpu.patch, MAPREDUCE-4334-pre2.patch > > > Once we get in MAPREDUCE-4327, it will be important to actually enforce > limits on CPU consumption of containers. > Several options spring to mind: > # taskset (RHEL5+) > # cgroups (RHEL6+) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira