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/10/09 17:25:00 UTC

[jira] [Commented] (YARN-7064) Use cgroup to get container resource utilization

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

Haibo Chen commented on YARN-7064:
----------------------------------

I deployed a pseudo-distributed cluster on a linux machine. However, the cgroup-based resource calculator did not trigger NM to monitor a container process. 
I believe this is because ResourceCalculatorProcessTree.getResourceCalculatorProcessTree() returns null in isResourceCalculatorAvailable() right after
getResourceCalculatorProcessTree(String pId) is called. This is counter-intuitive in that the cgroup-based calculator can override user defined resource calculator, but
users also need to set cgroup-based calculator to enable container monitor with cgroup-based resource calculator.

> Use cgroup to get container resource utilization
> ------------------------------------------------
>
>                 Key: YARN-7064
>                 URL: https://issues.apache.org/jira/browse/YARN-7064
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Miklos Szegedi
>            Assignee: Miklos Szegedi
>         Attachments: YARN-7064.000.patch, YARN-7064.001.patch, YARN-7064.002.patch, YARN-7064.003.patch, YARN-7064.004.patch
>
>
> This is an addendum to YARN-6668. What happens is that that jira always wants to rebase patches against YARN-1011 instead of trunk.



--
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