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

ramkrishna.s.vasudevan updated HBASE-24365:
-------------------------------------------
    Priority: Minor  (was: Major)

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

Reply via email to