Samarth Jain created PHOENIX-4125:
-------------------------------------

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


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)

Reply via email to