[
https://issues.apache.org/jira/browse/YARN-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13536228#comment-13536228
]
Luke Lu commented on YARN-223:
------------------------------
# The changes to eliminate usage of ResourceCalculatorPlugin is incorrect.
Process tree is an impl detail of ResourceCalculatorPlugin. Many systems don't
have process tree or equivalent at all.
# You only need to change the interface of ResourceCalculatorProcessTree and
impl of ProcfsBasedProcessTree.
> Change processTree interface to work better with native code
> ------------------------------------------------------------
>
> Key: YARN-223
> URL: https://issues.apache.org/jira/browse/YARN-223
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Radim Kolar
> Assignee: Radim Kolar
> Priority: Critical
> Attachments: pstree-update4.txt, pstree-update6.txt,
> pstree-update6.txt
>
>
> Problem is that on every update of processTree new object is required. This
> is undesired when working with processTree implementation in native code.
> replace ProcessTree.getProcessTree() with updateProcessTree(). No new object
> allocation is needed and it simplify application code a bit.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira