You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Samarth Jain (JIRA)" <ji...@apache.org> on 2017/08/29 17:35:00 UTC

[jira] [Updated] (PHOENIX-4125) Shutdown and start metrics system when mini cluster is shutdown and started

     [ 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)