You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Peter Bacsko (JIRA)" <ji...@apache.org> on 2019/05/15 15:26:00 UTC

[jira] [Commented] (YARN-9360) Do not expose innards of QueueMetrics object into FSLeafQueue#computeMaxAMResource

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

Peter Bacsko commented on YARN-9360:
------------------------------------

[~snemeth] please check whether the test failures are related. Also fix the new checkstyle issue.

 

> Do not expose innards of QueueMetrics object into FSLeafQueue#computeMaxAMResource
> ----------------------------------------------------------------------------------
>
>                 Key: YARN-9360
>                 URL: https://issues.apache.org/jira/browse/YARN-9360
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Szilard Nemeth
>            Assignee: Szilard Nemeth
>            Priority: Major
>         Attachments: YARN-9360.001.patch
>
>
> This is a follow-up for YARN-9323, covering required changes as discussed with [~templedf] earlier.
> After YARN-9323, org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSLeafQueue#computeMaxAMResource gets the QueueMetricsForCustomResources object from scheduler.getRootQueueMetrics().
> Instead, we should use a "fill-in" method in QueueMetrics that receives a Resource and fills in custom resource values if they are non-zero.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org