You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ramkrishna.s.vasudevan (Jira)" <ji...@apache.org> on 2020/05/18 09:58:00 UTC

[jira] [Resolved] (HBASE-24365) MetricsTableWrapperAggregateImpl runnable fails due to exception and never runs

     [ https://issues.apache.org/jira/browse/HBASE-24365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ramkrishna.s.vasudevan resolved HBASE-24365.
--------------------------------------------
    Fix Version/s: 2.2.5
                   2.3.0
                   3.0.0-alpha-1
     Hadoop Flags: Reviewed
       Resolution: Fixed

> MetricsTableWrapperAggregateImpl runnable fails due to exception and never runs
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-24365
>                 URL: https://issues.apache.org/jira/browse/HBASE-24365
>             Project: HBase
>          Issue Type: Bug
>          Components: metrics
>    Affects Versions: 3.0.0-alpha-1, 2.1.9, 2.2.4
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Minor
>             Fix For: 3.0.0-alpha-1, 2.3.0, 2.2.5
>
>
> MetricsTableWrapperAggregateImpl has a thread that periodically updates the values.
> It seems that once the region server is online and the meta is assigned if there are no store files the Optional values  here
> {code}
>             mt.maxStoreFileAge = Math.max(mt.maxStoreFileAge, store.getMaxStoreFileAge().getAsLong());
>             mt.minStoreFileAge = Math.min(mt.minStoreFileAge, store.getMinStoreFileAge().getAsLong());
> {code}
> is not available and thus throwing NoSuchElementException and the thread dies. It never updates the values till the RS is alive. 



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