[ 
https://issues.apache.org/jira/browse/HADOOP-14944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16206998#comment-16206998
 ] 

John Zhuge commented on HADOOP-14944:
-------------------------------------

Please note JvmMetrics.Singleton#impl is not refcounted, thus in the following 
call sequence:
1. JvmMetrics.initSingleton
2. JvmMetrics.initSingleton
3. JvmMetrics.shutdownSingleton
4. JvmMetrics.shutdownSingleton
The singleton is no longer usable after step 3. However, I don't think we need 
to support this use case. 


> Add JvmMetrics to KMS
> ---------------------
>
>                 Key: HADOOP-14944
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14944
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: kms
>    Affects Versions: 2.6.0
>            Reporter: Xiao Chen
>            Assignee: Xiao Chen
>         Attachments: HADOOP-14944.01.patch, HADOOP-14944.02.patch, 
> HADOOP-14944.03.patch, HADOOP-14944.04.patch, HADOOP-14944.05.patch, 
> HADOOP-14944.branch-2.01.patch
>
>
> Let's make KMS to use {{JvmMetrics}} to report aggregated statistics about 
> heap / GC etc.
> This will make statistics monitoring easier, and compatible across the 
> tomcat-based (branch-2) KMS and the jetty-based (branch-3) KMS.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to