Jason Lowe commented on YARN-2440:

I think cfs_quota_us has a maximum value of 1000000, so we may have an issue if 

I don't see how this takes into account the mapping of vcores to actual CPUs.   
It's not safe to assume 1 vcore == 1 physical CPU, as some sites will map 
multiple vcores to a physical core to allow fractions of a physical CPU to be 
allocated or to account for varying CPU performance across a heterogeneous 

> Cgroups should limit YARN containers to cores allocated in yarn-site.xml
> ------------------------------------------------------------------------
>                 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, 
> 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

Reply via email to