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

Sunil G commented on YARN-4945:
-------------------------------

HI [~leftnoteasy]
Thanks for comments..

I generally understood the overall picture. However one doubt to start with
{{Q.unallocated = Q.used - Q.selected;}}
Here *selected* means guaranteed?

bq.In each leaf queue, according to intra-queue preemption quota and other 
queue status, such as queue-policy, decide ideal-allocation and how much to 
preempt for each app
It makes sense in other policies. For priority, only if demand is there from 
high priority apps, we can take resource from lower priority apps. So while 
doing computing ideal allocation, we can consider full resources from an app as 
preemptable. This decision can be taken in preemptionPolicy. Does this sounds 
correct with your thoughts?

> [Umbrella] Capacity Scheduler Preemption Within a queue
> -------------------------------------------------------
>
>                 Key: YARN-4945
>                 URL: https://issues.apache.org/jira/browse/YARN-4945
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Wangda Tan
>         Attachments: Intra-Queue Preemption Use Cases.pdf, 
> IntraQueuepreemption-CapacityScheduler (Design).pdf, YARN-2009-wip.2.patch, 
> YARN-2009-wip.patch, YARN-2009-wip.v3.patch, YARN-2009.v0.patch
>
>
> This is umbrella ticket to track efforts of preemption within a queue to 
> support features like:
> YARN-2009. YARN-2113. YARN-4781.



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

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

Reply via email to