[ https://issues.apache.org/jira/browse/YARN-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14312262#comment-14312262 ]
Anubhav Dhoot commented on YARN-3122: ------------------------------------- On a 4 proc machine the parent process 1778 has 3 sub processes (1779, 1780, 1781) each eating up 1 core. Thus ProcfsBasedProcessTree returns close to 25 % usage for 1779 and close to 75% for the parent process tree 1778 > Metrics for container's actual CPU usage > ---------------------------------------- > > Key: YARN-3122 > URL: https://issues.apache.org/jira/browse/YARN-3122 > Project: Hadoop YARN > Issue Type: Sub-task > Components: nodemanager > Affects Versions: 2.6.0 > Reporter: Anubhav Dhoot > Assignee: Anubhav Dhoot > Attachments: YARN-3122.prelim.patch, YARN-3122.prelim.patch > > > It would be nice to capture resource usage per container, for a variety of > reasons. This JIRA is to track CPU usage. > YARN-2965 tracks the resource usage on the node, and the two implementations > should reuse code as much as possible. -- This message was sent by Atlassian JIRA (v6.3.4#6332)