[ 
https://issues.apache.org/jira/browse/YARN-3296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14352289#comment-14352289
 ] 

Junping Du commented on YARN-3296:
----------------------------------

bq. I am open to doing it in another JIRA. It won't be a headache to the user 
yet, since the CPU percentage hasn't been in a release. Got committed only a 
few days ago
I was thinking return -1 (as CPU percentage) make slightly more sense as it 
won't duplicate with case of zero resource consumption. However, this should be 
against with what we already released before. Just filed YARN-3304, plz 
continue the discussion there. Thx!

> 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
>             Fix For: 2.7.0
>
>         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