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

Carlo Curino commented on YARN-2009:
------------------------------------

If I am not mistaken this is what is happening... 

The policy picks from the queue in reverse order (i.e., least priority first, 
and for now since this is FIFO, means youngest App is picked as a first 
victim), 
next it tries to unreserve containers (as this is a free metadata-only 
operation), and then picks containers in reverse priority order. 
This is in getContainersToPreempt(..).

Is this what you meant?  Am I missing something?



> Priority support for preemption in ProportionalCapacityPreemptionPolicy
> -----------------------------------------------------------------------
>
>                 Key: YARN-2009
>                 URL: https://issues.apache.org/jira/browse/YARN-2009
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacityscheduler
>            Reporter: Devaraj K
>
> While preempting containers based on the queue ideal assignment, we may need 
> to consider preempting the low priority application containers first.



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

Reply via email to