[
https://issues.apache.org/jira/browse/YARN-11211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shilun Fan updated YARN-11211:
------------------------------
Affects Version/s: 3.4.0
> QueueMetrics leaks Configuration objects when validation API is called
> multiple times
> -------------------------------------------------------------------------------------
>
> Key: YARN-11211
> URL: https://issues.apache.org/jira/browse/YARN-11211
> Project: Hadoop YARN
> Issue Type: Bug
> Components: capacity scheduler
> Affects Versions: 3.4.0
> Reporter: András Győri
> Assignee: András Győri
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> QueueMetrics#QUEUE_METRICS is a static map, which is a source of multiple
> bugs eg. YARN-11152.
> The current scenario could be reproduced by adding queues one at a time via
> the mutation API.
> # Validate adding queue1 via validation API
> # Validation API instantiates a new CS, with a new Configuration, that
> instantiates a ConfigurationProperties
> # QueueMetrics does share the same QUEUE_METRICS cache with the original CS,
> where there is now a Metrics object that belongs to the new CS
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]