hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2098) App priority support in Fair Scheduler
Date Thu, 06 Aug 2015 17:48:06 GMT

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

Sunil G commented on YARN-2098:
-------------------------------

Hi [~ashwinshankar77]
Yes. YARN-2003 is committed. It has changes for RM and CS together. 
All basic changes needed from RM is defined now hence FairScheduler can go ahead.

{{checkAndGetApplicationPriority}} in YarnScheduler now can be extended in FairScheduler to
take some default value or to do some validation. And priority is an integer now. So RMAppManager
will invoke this method and set priority in RMApp. 
{{yarn.cluster.max-application-priority}}  can be used to get max priority from cluster. And
we are doing a max cap if any app is submitted with a high value.

Now FairOrderingPolicy has this new appPriority added for comparision of apps. FairOrderingPolicy
also needs this. Please ping me if any help needed, i updated the doc in main thread too.


> App priority support in Fair Scheduler
> --------------------------------------
>
>                 Key: YARN-2098
>                 URL: https://issues.apache.org/jira/browse/YARN-2098
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: fairscheduler
>    Affects Versions: 2.5.0
>            Reporter: Ashwin Shankar
>            Assignee: Wei Yan
>         Attachments: YARN-2098.patch, YARN-2098.patch
>
>
> This jira is created for supporting app priorities in fair scheduler. AppSchedulable
hard codes priority of apps to 1,we should
> change this to get priority from ApplicationSubmissionContext.



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

Mime
View raw message