[
https://issues.apache.org/jira/browse/PHOENIX-4125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Samarth Jain updated PHOENIX-4125:
----------------------------------
Attachment: PHOENIX-4125_4.x-HBase-0.98.patch
> Shutdown and start metrics system when mini cluster is shutdown and started
> ---------------------------------------------------------------------------
>
> Key: PHOENIX-4125
> URL: https://issues.apache.org/jira/browse/PHOENIX-4125
> Project: Phoenix
> Issue Type: Bug
> Reporter: Samarth Jain
> Assignee: Samarth Jain
> Attachments: PHOENIX-4125_4.x-HBase-0.98.patch
>
>
> While doing analysis for PHOENIX-4110, I noticed that the metrics system is
> keeping a lot of garbage around even though we frequently restart the mini
> cluster. This is because the metrics system is a singleton and is only
> shutdown when the JVM is shutdown. We should figure out a way to either
> disable it, or start it only for tests (primarily Tracing related) that use
> it, or tie it's lifecycle to the mini-cluster's lifecycle.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)