Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Currently Fair Scheduler supports the following 3 kinds of settings:
- Single percentage (relative to parent) i.e. "X%"
- A set of percentages (relative to parent) i.e. "X% cpu, Y% memory"
- Absolute resources i.e. "X mb, Y vcores"
Please note, that the new, recommended format does not support the single percentage mode, only the last 2, like: “vcores=X, memory-mb=Y” or “vcores=X%, memory-mb=Y%” respectively.
Tasks to accomplish:
- It is recommended that all three formats are supported for maximum-capacity in CS after introducing weight mode.
- Also we want to introduce the percentage modes relative to the cluster, not the parent, i.e The property root.users.maximum-capacity will mean one of the following things:
- Either Parent Percentage: maximum capacity relative to its parent. If it’s set to 50, then it means that the capacity is capped with respect to the parent. This can be covered by the current format, no change there.
- Or Cluster Percentage: maximum capacity expressed as a percentage of the overall cluster capacity. This case is the new scenario, for example:
yarn.scheduler.capacity.root.users.max-capacity = c:50%
yarn.scheduler.capacity.root.users.max-capacity = c:50%, c:30%
Attachments
Issue Links
- relates to
-
YARN-10886 Cluster based and parent based max capacity in Capacity Scheduler
- Open
-
YARN-10887 Investigation: Decouple capacity and max-capacity modes
- Open
-
YARN-9936 Support vector of capacity percentages in Capacity Scheduler configuration
- Resolved