Sunil G commented on YARN-4945:

My bad too.. I also only ran UT cases after this change.  Thank you very much 
[~eepayne] for pointing out the same. 

I think i know the problem here. we try to merge 
{{pendingOrderingPolicy.getSchedulableEntities()}} and 
{{orderingPolicy.getSchedulableEntities()}}. Eventhough both are TreeSet, both 
uses different comparator. So HashSet change will be fine as we are not looking 
for any type of order in the target data structure. I wll try some more 
optimization here in next patch.

> [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, 
> YARN-2009.v1.patch, YARN-2009.v2.patch, YARN-2009.v3.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

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