You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "xinxin fan (Jira)" <ji...@apache.org> on 2019/11/06 02:40:00 UTC

[jira] [Created] (HBASE-23260) Table metrics no longer update once a new table is created

xinxin fan created HBASE-23260:
----------------------------------

             Summary: Table metrics no longer update once a new table is created 
                 Key: HBASE-23260
                 URL: https://issues.apache.org/jira/browse/HBASE-23260
             Project: HBase
          Issue Type: Bug
          Components: metrics
    Affects Versions: 2.2.1
            Reporter: xinxin fan


Once a new table is created, the thread  MetricsTableWrapperAggregateImpl$TableMetricsWrapperRunnable will no longer work as a  java.util.NoSuchElementException is throwed. The details as follows:

 

CLASS            org.apache.hadoop.hbase.regionserver.MetricsTableWrapperAggregateImpl$TableMetricsWrapperRunnable                                                                                                                         CLASS            org.apache.hadoop.hbase.regionserver.MetricsTableWrapperAggregateImpl$TableMetricsWrapperRunnable                                                                                                                          METHOD           run                                                                                                                                                                                                                        IS-RETURN        false                                                                                                                                                                                                                      IS-EXCEPTION     true                                                                                                                                                                                                                       THROW-EXCEPTION  java.util.NoSuchElementException: No value present                                                                                                                                                                                          at java.util.OptionalLong.getAsLong(OptionalLong.java:118)                                                                                                                                                                                 at org.apache.hadoop.hbase.regionserver.MetricsTableWrapperAggregateImpl$TableMetricsWrapperRunnable.run(MetricsTableWrapperAggregateImpl.java:80)                                                                                         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)                                                                                                                                                                 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)                                                                                                                                                                        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)                                                                                                                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)                                                                                                                          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)                                                                                                                                                         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)                                                                                                                                                         at java.lang.Thread.run(Thread.java:748)      



--
This message was sent by Atlassian Jira
(v8.3.4#803005)