Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
According to design doc attached in YARN-3214, we need implement following logic in CapacityScheduler:
1) When allocate a resource request with no node-label specified, it should get preferentially allocated to node without labels.
2) When there're some available resource in a node with label, they can be used by applications with following order:
- Applications under queues which can access the label and ask for same labeled resource.
- Applications under queues which can access the label and ask for non-labeled resource.
- Applications under queues cannot access the label and ask for non-labeled resource.
3) Expose necessary information that can be used by preemption policy to make preemption decisions.
Attachments
Attachments
Issue Links
- is duplicated by
-
YARN-3213 Respect labels in Capacity Scheduler when computing user-limit
- Resolved
-
YARN-4839 ResourceManager deadlock between RMAppAttemptImpl and SchedulerApplicationAttempt
- Resolved
-
YARN-2176 CapacityScheduler loops over all running applications rather than actively requesting apps
- Resolved
- is related to
-
YARN-3486 Duplicate check for partitioned request on partitioned node
- Open