Benjamin Teke created YARN-12017:
------------------------------------
Summary: Add a structured Capacity Scheduler validation engine and
the scheduler-conf validate/v2 REST endpoint
Key: YARN-12017
URL: https://issues.apache.org/jira/browse/YARN-12017
Project: Hadoop YARN
Issue Type: Sub-task
Components: capacity scheduler
Reporter: Benjamin Teke
Assignee: Benjamin Teke
Add a validation engine that resolves a proposed configuration and runs rules
(the shared checks plus placement and allocation checks) against a snapshot of
cluster facts, without creating a scheduler or queues. Each issue has
queuePath, propertyKey, ruleId, severity and message.
Severity contract: ERROR only where the configuration is rejected today; new
checks report WARNING.
New endpoint POST /ws/v1/cluster/scheduler-conf/validate/v2 returns the issues,
and with ?explain=true the resolved values and their sources for the affected
queues. The existing validate endpoint uses the engine internally and keeps its
response format, which removes the throwaway CapacityScheduler validation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]