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 "Sen Zhao (JIRA)" <ji...@apache.org> on 2017/09/08 05:08:02 UTC

[jira] [Commented] (YARN-7172) ResourceCalculator.fitsIn() should not take a cluster resource parameter

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

Sen Zhao commented on YARN-7172:
--------------------------------

I am very interested in this. For a while I will provide a patch.

> ResourceCalculator.fitsIn() should not take a cluster resource parameter
> ------------------------------------------------------------------------
>
>                 Key: YARN-7172
>                 URL: https://issues.apache.org/jira/browse/YARN-7172
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 3.0.0-alpha4
>            Reporter: Daniel Templeton
>              Labels: newbie
>
> There are numerous calls to {{ClusterNodeTracker.getClusterResource()}} (which involves a lock) to get a value to pass as the cluster resource parameter to {{Resources.fitsIn()}}, but the parameter is (quite reasonably) ignored.  We should remove the parameter.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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