You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Haibo Chen (JIRA)" <ji...@apache.org> on 2017/08/02 22:08:00 UTC

[jira] [Comment Edited] (YARN-6673) Add cpu cgroup configurations for opportunistic containers

    [ https://issues.apache.org/jira/browse/YARN-6673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16111804#comment-16111804 ] 

Haibo Chen edited comment on YARN-6673 at 8/2/17 10:07 PM:
-----------------------------------------------------------

Thanks [~miklos.szegedi@cloudera.com] for updating the patch. One more knit on the patch. Can we replace the hardcoded expected value in the newly added testOpportunistic() test with references to the variable in CGroupsCpuResourceHandlerImpl?


was (Author: haibochen):
Thanks [~miklos.szegedi@cloudera.com] for updating the patch. One more knit on the patch. Can we replace the hardcoded expected value in the newly added testOpportunistic() test with references to the variable in CGroupsMemoryResourceHandlerImpl?

> Add cpu cgroup configurations for opportunistic containers
> ----------------------------------------------------------
>
>                 Key: YARN-6673
>                 URL: https://issues.apache.org/jira/browse/YARN-6673
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Haibo Chen
>            Assignee: Miklos Szegedi
>         Attachments: YARN-6673.000.patch
>
>
> In addition to setting cpu.cfs_period_us on a per-container basis, we could also set cpu.shares to 2 for opportunistic containers so they are run on a best-effort basis



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org