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

MetricsTableWrapperAggregateImpl runnable fails due to exception and never runs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.1.9, 2.2.4
    • 3.0.0-alpha-1, 2.3.0, 2.2.5
    • metrics
    • 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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: