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

Karthik Kambatla commented on YARN-1959:
----------------------------------------

Approach looks good. Couple of comments: 
# Can we add a single method to SchedulingPolicy that takes "available" cluster 
resources, queue's fairshare and current usage? May be, we can call that method 
computeHeadroom? 
# The amount of resources available in the cluster can be looked up in 
FairScheduler.rootMetrics. 

> Fix headroom calculation in Fair Scheduler
> ------------------------------------------
>
>                 Key: YARN-1959
>                 URL: https://issues.apache.org/jira/browse/YARN-1959
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Sandy Ryza
>            Assignee: Anubhav Dhoot
>         Attachments: YARN-1959.prelim.patch
>
>
> The Fair Scheduler currently always sets the headroom to 0.



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

Reply via email to