[ 
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 [[email protected]] 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 [[email protected]] 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to