[ 
https://issues.apache.org/jira/browse/YARN-2696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wangda Tan updated YARN-2696:
-----------------------------
    Attachment: YARN-2696.2.patch

Attached ver.2 patch fixed findbugs warning and test failures 
(TestRMDelegationTokens is not related).

I've thought about Jian's comment:
bq. We can merge PartitionedQueueComparator and nonPartitionedQueueComparator 
into a single QueueComparator.
After think about this, I think we cannot, NonPartitionedQueueComparator is 
stateless, and PartitionedQueueComparator is stateful, someone can modify 
"partitionToLookAt" for Partitioned.., but we should keep 
NonPartitionedQueueComparator only and always sort by default partition.


> Queue sorting in CapacityScheduler should consider node label
> -------------------------------------------------------------
>
>                 Key: YARN-2696
>                 URL: https://issues.apache.org/jira/browse/YARN-2696
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacityscheduler, resourcemanager
>            Reporter: Wangda Tan
>            Assignee: Wangda Tan
>         Attachments: YARN-2696.1.patch, YARN-2696.2.patch
>
>
> In the past, when trying to allocate containers under a parent queue in 
> CapacityScheduler. The parent queue will choose child queues by the used 
> resource from smallest to largest. 
> Now we support node label in CapacityScheduler, we should also consider used 
> resource in child queues by node labels when allocating resource.



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

Reply via email to