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

Sandy Ryza commented on YARN-2448:
----------------------------------

As Karthik mentioned, the ResourceCalculator is an abstraction used by the 
Capacity Scheduler that isn't a great fit for the Fair Scheduler, which always 
enforces CPU limits but can be configured with a different fairness policy at 
each queue in the hierarchy.  If this is necessary, can we provide a narrower 
interface such as a boolean indicating whether the scheduler considers CPU in 
its decisions?

> RM should expose the name of the ResourceCalculator being used when AMs 
> register
> --------------------------------------------------------------------------------
>
>                 Key: YARN-2448
>                 URL: https://issues.apache.org/jira/browse/YARN-2448
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Varun Vasudev
>            Assignee: Varun Vasudev
>         Attachments: apache-yarn-2448.0.patch, apache-yarn-2448.1.patch
>
>
> The RM should expose the name of the ResourceCalculator being used when AMs 
> register, as part of the RegisterApplicationMasterResponse.
> This will allow applications to make better decisions when scheduling. 
> MapReduce for example, only looks at memory when deciding it's scheduling, 
> even though the RM could potentially be using the DominantResourceCalculator.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to