hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "daemon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-6769) Put the no demand queue after the most in FairSharePolicy#compare
Date Fri, 07 Jul 2017 02:18:00 GMT

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

daemon updated YARN-6769:
-------------------------
    Description: 
When use fairsheduler as RM scheduler, before assign container we will sort all queues or
applications. 
We will use FairSharePolicy#compare as the comparator´╝î but the comparator is not so perfect.
It have a problem as blow:
1. when a queue use resource over minShare(minResources), it will put behind the queue whose
demand is zeor.
so it will greater opportunity to get the resource although it do not want. It will waste
schedule time when assign container
to queue or application.

I have fix it, and I will upload the patch to the jira.

> Put the no demand queue after the most in FairSharePolicy#compare
> -----------------------------------------------------------------
>
>                 Key: YARN-6769
>                 URL: https://issues.apache.org/jira/browse/YARN-6769
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>    Affects Versions: 2.7.2
>            Reporter: daemon
>            Priority: Minor
>             Fix For: 2.9.0
>
>
> When use fairsheduler as RM scheduler, before assign container we will sort all queues
or applications. 
> We will use FairSharePolicy#compare as the comparator´╝î but the comparator is not so
perfect.
> It have a problem as blow:
> 1. when a queue use resource over minShare(minResources), it will put behind the queue
whose demand is zeor.
> so it will greater opportunity to get the resource although it do not want. It will waste
schedule time when assign container
> to queue or application.
> I have fix it, and I will upload the patch to the jira.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message