Sunil G commented on YARN-3885:

HI [~ajithshetty]
Thanks for reporting this. 
As you mentioned, this issue will be coming from levels more than 2. Your patch 
looks good.
Could you please add a test case for this scenario.

> 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
>            Priority: Critical
>         Attachments: YARN-3885.02.patch, YARN-3885.03.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

Reply via email to