You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/07/20 14:39:00 UTC

[jira] [Updated] (YARN-11211) QueueMetrics leaks Configuration objects when validation API is called multiple times

     [ https://issues.apache.org/jira/browse/YARN-11211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated YARN-11211:
----------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Reporter: András Győri
>            Assignee: András Győri
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org