Sunil G updated YARN-2004:
    Attachment: 0010-YARN-2004.patch

Hi [~leftnoteasy]

Thank you very much for sharing the comments. I have updated the patch 
addressing the comments. 
- applicationComparator is still kept here. I raised a ticket to remove it, 
once that is done, i will rebase this patch.
- {{FairScheduler#getAppWeight}} I understood the idea very much. I feel we can 
have this later as an improvement once the base version is done. How do u feel?

> Priority scheduling support in Capacity scheduler
> -------------------------------------------------
>                 Key: YARN-2004
>                 URL: https://issues.apache.org/jira/browse/YARN-2004
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacityscheduler
>            Reporter: Sunil G
>            Assignee: Sunil G
>         Attachments: 0001-YARN-2004.patch, 0002-YARN-2004.patch, 
> 0003-YARN-2004.patch, 0004-YARN-2004.patch, 0005-YARN-2004.patch, 
> 0006-YARN-2004.patch, 0007-YARN-2004.patch, 0008-YARN-2004.patch, 
> 0009-YARN-2004.patch, 0010-YARN-2004.patch
> Based on the priority of the application, Capacity Scheduler should be able 
> to give preference to application while doing scheduling.
> Comparator<FiCaSchedulerApp> applicationComparator can be changed as below.   
> 1.    Check for Application priority. If priority is available, then return 
> the highest priority job.
> 2.    Otherwise continue with existing logic such as App ID comparison and 
> then TimeStamp comparison.

This message was sent by Atlassian JIRA

Reply via email to