Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.0
-
None
Description
We are adding per-queue Ordering policies and comparator configurations to the Capacity Scheduler. These will need to be surfaced in Ambari.
Both these configurations need to be surfaced in the Capacity Scheduler View:
(1) Display name in UI: Ordering Policy
YARN config name: yarn.scheduler.capacity.(STANDARD-QUEUE-SPECIFICATION).ordering-policy
The value will be chosen from a drop down with two possible values:
- default value - "fifo" (sans-quotes),
- alternate value - "fair" (sans-quotes)
Open Q: should also accept a fairly long string value (sufficient for fully qualified java classnames)
(2) Display name in UI: Enable Size Based Weight Ordering
YARN config name: yarn.scheduler.capacity.(STANDARD-QUEUE-SPECIFICATION).ordering-policy.fair.enable-size-based-weight
The only time this property needs to be set is when (1) is set to 'fair'. When (1) is set to 'fifo', then this property should not be available in the UI.
The possible values are:
- default value - "false" (sans-quotes)
- alternate value "true" (sans-quotes)