Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.4.0
-
None
-
Reviewed
Description
To allow the possibility to flexibly create queues in Capacity Scheduler a weight mode should be introduced. The existing {{capacity }}property should be used with a different syntax, i.e:
root.users.capacity = (1.0) or ~1.0 or ^1.0 or @1.0
root.users.capacity = 1.0w
root.users.capacity = w:1.0
Weight support should not impact the existing functionality.
The new functionality should:
- accept and validate the new weight values
- enforce a singular mode on the whole queue tree
- (re)calculate the relative (percentage-based) capacities based on the weights during launch and every time the queue structure changes
Attachments
Attachments
Issue Links
- causes
-
YARN-10694 Fix spotbugs warning in CapacitySchedulerConfiguration.java
-
- Resolved
-