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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to