hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-24365) MetricsTableWrapperAggregateImpl runnable fails due to exception and never runs
Date Mon, 18 May 2020 09:58:00 GMT

     [ 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)

Mime
View raw message