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

Xianyin Xin commented on YARN-3885:
-----------------------------------

Agree [~leftnoteasy]. suppose we have a case

   parent_of_A
    /               \
  A                A's brother B

and A has 9 extra and 10 preemptable, but B has 9 extra and 0 preemptable (we 
can set the queue unpreemptable), then parent_of_A has 18 extra, but how many 
preemptable it should offer? It should be 9. so we'd better limit preemptable 
to be less than extra for queues at any level.

Please correct me if i'm wrong.

> ProportionalCapacityPreemptionPolicy doesn't preempt if queue is more than 2 
> level
> ----------------------------------------------------------------------------------
>
>                 Key: YARN-3885
>                 URL: https://issues.apache.org/jira/browse/YARN-3885
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn
>    Affects Versions: 2.8.0
>            Reporter: Ajith S
>            Assignee: Ajith S
>            Priority: Blocker
>         Attachments: YARN-3885.02.patch, YARN-3885.03.patch, 
> YARN-3885.04.patch, YARN-3885.patch
>
>
> when preemption policy is {{ProportionalCapacityPreemptionPolicy.cloneQueues}}
> this piece of code, to calculate {{untoucable}} doesnt consider al the 
> children, it considers only immediate childern



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

Reply via email to