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

Reply via email to