[ https://issues.apache.org/jira/browse/HBASE-11501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15784806#comment-15784806 ]
Weizhan Zeng edited comment on HBASE-11501 at 12/29/16 8:03 AM: ---------------------------------------------------------------- @Virag Kothari I add this patch to our online cluster ,but it still not clear. My hbase version is 1.1.6 . here is my code is change - 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); was (Author: weizhan zeng): @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)