You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "qiuliang (JIRA)" <ji...@apache.org> on 2018/11/08 01:03:00 UTC

[jira] [Reopened] (YARN-8978) For fair scheduler, application with higher priority should also get priority resources for running AM

     [ https://issues.apache.org/jira/browse/YARN-8978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

qiuliang reopened YARN-8978:
----------------------------

> For fair scheduler, application with higher priority should also get priority resources for running AM
> ------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-8978
>                 URL: https://issues.apache.org/jira/browse/YARN-8978
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: fairscheduler
>            Reporter: qiuliang
>            Priority: Major
>         Attachments: YARN-8978.001.patch
>
>
> In order to allow important applications to run earlier, we used priority scheduling in the fair scheduler, and FairSharePolicy uses YARN-6307. Considering this situation, there are two applications (with different priorities) in the same queue and both are accepted. Both applications are demanding and hungry when dispatched to the queue. Next, calculate the weight ratio. Since the used resources of both applications are 0, the weight ratio is also 0. The priority is invalid in this case. Low-priority applications may get resources to run AM earlier than high-priority applications.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org