Details
Description
YARN-1769 brought in reservations continue looking feature which improves the several resource reservation scenarios. However, it is not handled currently when nodes have a label assigned to them. This is useful and in many cases necessary even for Node Labels. So we should look to support this for node labels also.
For example, in AbstractCSQueue.java, we have the below TODO.
// TODO, now only consider reservation cases when the node has no label if (this.reservationsContinueLooking && nodePartition.equals( RMNodeLabelsManager.NO_LABEL) && Resources.greaterThan( resourceCalculator, clusterResource, resourceCouldBeUnreserved, Resources.none())) {
cc sunilg
Attachments
Attachments
Issue Links
- relates to
-
YARN-10283 Capacity Scheduler: starvation occurs if a higher priority queue is full and node labels are used
- Patch Available