Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0-alpha-1, 2.1.9, 2.2.4
-
None
-
Reviewed
Description
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
mt.maxStoreFileAge = Math.max(mt.maxStoreFileAge, store.getMaxStoreFileAge().getAsLong()); mt.minStoreFileAge = Math.min(mt.minStoreFileAge, store.getMinStoreFileAge().getAsLong());
is not available and thus throwing NoSuchElementException and the thread dies. It never updates the values till the RS is alive.
Attachments
Issue Links
- links to