You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Benjamin Teke (Jira)" <ji...@apache.org> on 2026/10/07 09:03:00 UTC

[jira] [Created] (YARN-12013) Build an immutable, prefix-indexed Capacity Scheduler configuration snapshot once per refresh

Benjamin Teke created YARN-12013:
------------------------------------

             Summary: Build an immutable, prefix-indexed Capacity Scheduler configuration snapshot once per refresh
                 Key: YARN-12013
                 URL: https://issues.apache.org/jira/browse/YARN-12013
             Project: Hadoop YARN
          Issue Type: Sub-task
          Components: capacity scheduler
            Reporter: Benjamin Teke
            Assignee: Benjamin Teke


Queue setup repeatedly calls Configuration getters (variable substitution, deprecation handling, prefix scans), and the lazily cached ConfigurationProperties index has to be reinitialized by hand.

Introduce ConfigSnapshot: an immutable property map with variables substituted once plus a prefix index, built once per refresh or validation request and used for queue setup lookups. It replaces the manually invalidated ConfigurationProperties cache.

No behavior change: the configuration tests from sub-task 1 pass unchanged, and load/refresh benchmarks are no slower than trunk.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org