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 "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org> on 2016/11/03 17:59:59 UTC

[jira] [Commented] (YARN-5827) DockerLinuxContainer can't limit the cpu usage

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

Vinod Kumar Vavilapalli commented on YARN-5827:
-----------------------------------------------

Cgroup support is already added via YARN-4553. Can this be closed as dup?

> 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
>   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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org