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

Jonathan Hung commented on YARN-5293:
-------------------------------------

[~sunilg] and [~leftnoteasy], thanks for the clarifications. I think these make 
sense.

One concern I have is regarding when label exclusivity is disabled. If I 
understand correctly, 
[YARN-2498|https://issues.apache.org/jira/browse/YARN-2498] keeps track of the 
containers which ignore partition exclusivity. So if we disable preemption for 
a queue-label, we can still preempt the containers with NO_LABEL running on a 
partition. That way specifying preemption disabled for a queue-label only 
disables preemption for containers with that label so we can avoid the scenario 
of indirectly disabling preemption for NO_LABEL containers on non-default 
partitions.

> Disable preemption per queue per partition
> ------------------------------------------
>
>                 Key: YARN-5293
>                 URL: https://issues.apache.org/jira/browse/YARN-5293
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: capacityscheduler
>            Reporter: Jonathan Hung
>
> [YARN-2056|https://issues.apache.org/jira/browse/YARN-2056] added support for 
> disabling preemption at queue level. 
> [YARN-2498|https://issues.apache.org/jira/browse/YARN-2498] added support for 
> per partition preemption. It would be useful to be able to disable preemption 
> per partition per queue, so that if a queue Q has access to two labels A and 
> B, we can disable preemption for Q in A but not in B.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to