This Jira has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems email email@example.com
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.
Changes for ResourceCalculatorProcessTree in YARN-3122 could be done in a more compatible manner
Change NodeManager metrics to not populate resource usage metrics if they are unavailable
Fix MR resource counter to handle negative value for getting memory resource after YARN-3304
yarn.nodemanager.container-monitor.process-tree.class is configurable but ResourceCalculatorProcessTree class is marked Private
Remove deprecated methods from ResourceCalculatorProcessTree