Benjamin Teke created YARN-12014:
------------------------------------
Summary: Move Capacity Scheduler queue configuration checks into
shared functions
Key: YARN-12014
URL: https://issues.apache.org/jira/browse/YARN-12014
Project: Hadoop YARN
Issue Type: Sub-task
Components: capacity scheduler
Reporter: Benjamin Teke
Assignee: Benjamin Teke
Configuration checks (capacity sums, minimum/maximum capacity, absolute
resources, label subsets, default label expression, maximum allocation, user
weights, lifetimes, queue state transitions, auto queue creation constraints)
are embedded in queue constructors.
Move each check into a static function over plain input values, following the
QueueStateHelper pattern, and call it from the constructors. Later sub-tasks
call the same functions from validation rules, so every check has exactly one
implementation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]