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

Sandy Ryza commented on YARN-2099:
----------------------------------

I think the desired behavior here should be that a leaf queue's scheduling 
policy determines which apps get containers preempted inside of it. For fair 
share and DRF, the app to get a container preempted should be that which most 
exceeds its fair share. Priorities come in to play by providing weightings on 
the fair share.  It would also be possible to add a leaf-level scheduling 
policy that always preempts the app with the lowest priority.

I think that once YARN-596 is in we will actually have this behavior.

Thoughts?  Anything I'm missing?

> Preemption in fair scheduler should consider app priorities
> -----------------------------------------------------------
>
>                 Key: YARN-2099
>                 URL: https://issues.apache.org/jira/browse/YARN-2099
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: api, resourcemanager
>    Affects Versions: 2.5.0
>            Reporter: Ashwin Shankar
>
> Fair scheduler should take app priorities into account while
> preempting containers.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to