Details
-
Sub-task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
In the converter, this part is very strict and probably unnecessary:
// Validate ordering policy if (queueConverter.isDrfPolicyUsedOnQueueLevel()) { if (queueConverter.isFifoOrFairSharePolicyUsed()) { throw new ConversionException( "DRF ordering policy cannot be used together with fifo/fair"); } else { capacitySchedulerConfig.set( CapacitySchedulerConfiguration.RESOURCE_CALCULATOR_CLASS, DominantResourceCalculator.class.getCanonicalName()); } }
It's also misleading, because Fair policy can be used under DRF, so the error message is incorrect.
Let's remove these checks and rewrite the converter in a way that it generates a valid config even if fair/drf is somehow mixed.
Attachments
Attachments
Issue Links
- is related to
-
YARN-9892 Capacity Scheduler: Support DRF ordering policy on queue level
-
- Patch Available
-