Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-24365

MetricsTableWrapperAggregateImpl runnable fails due to exception and never runs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha-1, 2.1.9, 2.2.4
    • Fix Version/s: 3.0.0-alpha-1, 2.3.0, 2.2.5
    • Component/s: metrics
    • Labels:
      None
    • Hadoop Flags:
      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

            Activity

              People

              • Assignee:
                ram_krish ramkrishna.s.vasudevan
                Reporter:
                ram_krish ramkrishna.s.vasudevan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: