hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radim Kolar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-178) Fix custom ProcessTree instance creation
Date Tue, 23 Oct 2012 10:57:13 GMT

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

Radim Kolar commented on YARN-178:
----------------------------------

you need constructor which is shared by all subclasses. Alternatively, it could be method
instead of constructor but because root process pid do not change then constructor is better.
                
> Fix custom ProcessTree instance creation
> ----------------------------------------
>
>                 Key: YARN-178
>                 URL: https://issues.apache.org/jira/browse/YARN-178
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 0.23.5
>            Reporter: Radim Kolar
>            Assignee: Radim Kolar
>            Priority: Critical
>         Attachments: pstree-instance2.txt, pstree-instance.txt
>
>
> 1. In current pluggable resourcecalculatorprocesstree is not passed root process id to
custom implementation making it unusable.
> 2. pstree do not extend Configured as it should
> Added constructor with pid argument with testsuite. Also added test that pstree is correctly
configured.

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

Mime
View raw message