[ 
https://issues.apache.org/jira/browse/YARN-5827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shane Kumpf resolved YARN-5827.
-------------------------------
          Resolution: Duplicate
    Target Version/s:   (was: 2.8.0)

> DockerLinuxContainer can't limit the cpu usage
> ----------------------------------------------
>
>                 Key: YARN-5827
>                 URL: https://issues.apache.org/jira/browse/YARN-5827
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 2.8.0
>         Environment: CentOS7.1
>            Reporter: zhengchenyu
>            Assignee: Shane Kumpf
>   Original Estimate: 240h
>  Remaining Estimate: 240h
>
> When I use DockerLinuxContainer, I found that the function of limiting cpu 
> usage doesn't make effect. Because DockerLinuxContainer regard the exitCode 
> of  "docker inpsect" as pid. But When I got this pid, the command of 
> "launch.sh" has started, then we can't add the child process or threads into 
> the cgroup, so the restrictions of cpu usage doesn't make effect。



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

Reply via email to