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 "Sandy Ryza (JIRA)" <ji...@apache.org> on 2014/05/17 21:48:14 UTC

[jira] [Commented] (YARN-2068) FairScheduler uses the same ResourceCalculator for all policies

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

Sandy Ryza commented on YARN-2068:
----------------------------------

I think this is not the case.  The code is slightly confusing, because FairScheduler.java has a ResourceCalculator that it uses only for preemption.  This is going to go away with YARN-596.  The scheduling policies don't make use of this ResourceCalculator - the DominantResourceFairnessPolicy for example doesn't use a ResourceCalculator at all because it needs to save some intermediate results.

> FairScheduler uses the same ResourceCalculator for all policies
> ---------------------------------------------------------------
>
>                 Key: YARN-2068
>                 URL: https://issues.apache.org/jira/browse/YARN-2068
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 2.4.0
>            Reporter: Karthik Kambatla
>            Assignee: Sandy Ryza
>
> FairScheduler uses the same ResourceCalculator for all policies including DRF. Need to fix that.



--
This message was sent by Atlassian JIRA
(v6.2#6252)