Karthik Kambatla commented on YARN-3304:

Allen, I believe we are discussing only about cpu-usage metrics here, which 
have been committed to branch-2 only last week and were never part of previous 

> Default return values for resources in ResourceCalculatorProcessTree are 
> inconsistent in case where functionality is not available.
> -----------------------------------------------------------------------------------------------------------------------------------
>                 Key: YARN-3304
>                 URL: https://issues.apache.org/jira/browse/YARN-3304
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>            Reporter: Junping Du
>            Assignee: Karthik Kambatla
>            Priority: Blocker
> Per discussions in YARN-3296, getCpuUsagePercent() will return -1 for 
> unavailable case while other resource metrics are return 0 in the same case 
> which sounds inconsistent.

This message was sent by Atlassian JIRA

Reply via email to