adoroszlai opened a new pull request, #7392: URL: https://github.com/apache/ozone/pull/7392
## What changes were proposed in this pull request? `MutableQuantiles` should be stopped when no longer needed, since its `scheduledTask` is referenced by a global `ScheduledExecutorService`. https://issues.apache.org/jira/browse/HDDS-11642 ## How was this patch tested? Implemented a new Freon test (not part of the PR) that keeps creating and closing `RpcClient`. Confirmed on `master` that `MutableQuantiles` instance count is growing: ``` num #instances #bytes class name (module) 3: 677544 32522112 org.apache.hadoop.metrics2.lib.MutableQuantiles 3: 935136 44886528 org.apache.hadoop.metrics2.lib.MutableQuantiles 3: 1095792 52598016 org.apache.hadoop.metrics2.lib.MutableQuantiles ``` while with the fix it is stable: ``` num #instances #bytes class name (module) 319: 18 864 org.apache.hadoop.metrics2.lib.MutableQuantiles 285: 24 1152 org.apache.hadoop.metrics2.lib.MutableQuantiles <no instance> ``` CI: https://github.com/adoroszlai/ozone/actions/runs/11669242466 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
