Karthik Kambatla commented on YARN-326:

Neatly done, Sandy. I have one comment: given we have ResourceType now, it 
might be better to get rid of memory/cpu specific methods in ResourceWeights. 
The following two methods should suffice.

float getWeight(ResourceType rt);
void setWeight(ResourceType rt, float weight);
> Add multi-resource scheduling to the fair scheduler
> ---------------------------------------------------
>                 Key: YARN-326
>                 URL: https://issues.apache.org/jira/browse/YARN-326
>             Project: Hadoop YARN
>          Issue Type: New Feature
>          Components: scheduler
>    Affects Versions: 2.0.2-alpha
>            Reporter: Sandy Ryza
>            Assignee: Sandy Ryza
>         Attachments: FairSchedulerDRFDesignDoc-1.pdf, 
> FairSchedulerDRFDesignDoc.pdf, YARN-326-1.patch, YARN-326-1.patch, 
> YARN-326-2.patch, YARN-326-3.patch, YARN-326-4.patch, YARN-326.patch, 
> YARN-326.patch
> With YARN-2 in, the capacity scheduler has the ability to schedule based on 
> multiple resources, using dominant resource fairness.  The fair scheduler 
> should be able to do multiple resource scheduling as well, also using 
> dominant resource fairness.
> More details to come on how the corner cases with fair scheduler configs such 
> as min and max resources will be handled.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to