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 "Szilard Nemeth (Jira)" <ji...@apache.org> on 2022/07/21 12:22:00 UTC

[jira] [Resolved] (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 ]

Szilard Nemeth resolved YARN-11211.
-----------------------------------
    Hadoop Flags: Reviewed
      Resolution: Fixed

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