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 "András Győri (Jira)" <ji...@apache.org> on 2022/07/18 13:48:00 UTC

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

András Győri created YARN-11211:
-----------------------------------

             Summary: 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


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org