hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peng Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3405) FairScheduler's preemption cannot happen between sibling in some case
Date Tue, 31 Mar 2015 13:19:53 GMT

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

Peng Zhang commented on YARN-3405:
----------------------------------

I test this case in cluster: queue-2 will be preempted until its ResourceUsage( consumption
- preempted resources)  equal to its fair share, and will not be over preempted.
And then no preemption from sibling queue-1-1, and hang there.

> FairScheduler's preemption cannot happen between sibling in some case
> ---------------------------------------------------------------------
>
>                 Key: YARN-3405
>                 URL: https://issues.apache.org/jira/browse/YARN-3405
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>    Affects Versions: 2.7.0
>            Reporter: Peng Zhang
>            Priority: Critical
>
> Queue hierarchy described as below:
> {noformat}
>                   root
>                /         \
>        queue-1          queue-2       
>           /      \
> queue-1-1     queue-1-2
> {noformat}
> Assume cluster resource is 100
> # queue-1-1 and queue-2 has app. Each get 50 usage and 50 fairshare. 
> # When queue-1-2 is active, and it cause some new preemption request for fairshare 25.
> # When preemption from root, it has possibility to find preemption candidate is queue-2.
If so preemptContainerPreCheck for queue-2 return false because it's equal to its fairshare.
> # Finally queue-1-2 will be waiting for resource release form queue-1-1 itself.
> What I expect here is that queue-1-2 preempt from queue-1-1.



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

Mime
View raw message