Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.4.0
-
Reviewed
Description
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
Attachments
Issue Links
- causes
-
YARN-11490 JMX QueueMetrics breaks after mutable config validation in CS
- Resolved
- links to