[ 
https://issues.apache.org/jira/browse/YARN-3296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hitesh Shah updated YARN-3296:
------------------------------
    Attachment: YARN-3296.2.patch

Made some functions non abstract. 

There is some inconsistency in return values though. Older functions were 
expected to return 0 but cpuPercent returns -1 for cases where functionality is 
not available. 

> yarn.nodemanager.container-monitor.process-tree.class is configurable but 
> ResourceCalculatorProcessTree class is marked Private
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-3296
>                 URL: https://issues.apache.org/jira/browse/YARN-3296
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Hitesh Shah
>            Assignee: Hitesh Shah
>         Attachments: YARN-3296.1.patch, YARN-3296.2.patch
>
>
> Given that someone can implement their custom plugin for resource monitoring 
> and configure the NM to use it, this class should be marked public.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to