You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Andrew Ferguson (JIRA)" <ji...@apache.org> on 2012/06/21 22:53:42 UTC

[jira] [Updated] (MAPREDUCE-4334) Add support for CPU isolation/monitoring of containers

     [ 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-pre1.patch

This is a preliminary patch to add support for using cgroups to do resource isolation and enforcement. It requires MAPREDUCE-4351, which provides pluggable ContainersMonitors.

This patch currently assumes that the memory cgroups controller is mounted at "/cgroups/mem" and that a "/cgroups/mem/hadoop-yarn" group exists which is writable by the Hadoop user (this is configurable by yarn-site.xml). I will fix these assumptions shortly, but wanted to get the preliminary patch out for discussion.


thanks!
                
> 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
>
>
> 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