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

Reply via email to