hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik Kambatla (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3296) yarn.nodemanager.container-monitor.process-tree.class is configurable but ResourceCalculatorProcessTree class is marked Private
Date Thu, 05 Mar 2015 21:57:38 GMT

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

Karthik Kambatla commented on YARN-3296:
----------------------------------------

Agree with setting it to Public-Evolving. I think we should make the methods uniform along
with marking it Public. At the very least, I think the following methods shouldn't be abstract:
getCumulativeVmem, getCumulativeRssmem, getCumulativeCpuTime, getCpuUsagePercent. These methods
should probably return UNAVAILABLE (=0). 

[~hitesh], [~jianhe] - what do you think? 

> 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
>
>
> 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)

Mime
View raw message