hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weizhan Zeng (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11501) Metrics from JMX cache are not cleared
Date Thu, 29 Dec 2016 08:02:58 GMT

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

Weizhan Zeng commented on HBASE-11501:
--------------------------------------

@Virag Kothari   I add  this patch to our online cluster ,but it  still not clear. My hbase
version is 1.1.6 .my code is 

```
-      if (fut == null || (!fut.isDone()  && fut.getDelay(TimeUnit.MILLISECONDS) >
100)) return;
+      if (fut != null && !fut.isDone() && fut.getDelay(TimeUnit.MILLISECONDS)
> 100){
+        return;
+      }
       fut = executor.getExecutor().schedule(new JmxCacheBusterRunnable(), 5, TimeUnit.SECONDS);

```


> Metrics from JMX cache are not cleared
> --------------------------------------
>
>                 Key: HBASE-11501
>                 URL: https://issues.apache.org/jira/browse/HBASE-11501
>             Project: HBase
>          Issue Type: Bug
>          Components: metrics
>    Affects Versions: 2.0.0
>            Reporter: Virag Kothari
>            Assignee: Virag Kothari
>         Attachments: HBASE-11501.patch, HBASE-11501.patch
>
>
> In JmxCacheBuster, clearJmxCache() has incorrect condition for starting JmxCacheBusterRunnable



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message