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

Expose store reader reference count

    XMLWordPrintableJSON

Details

    • Reviewed
    • This change exposes the aggregate count of store reader references for a given store as 'storeRefCount' in region metrics and ClusterStatus.

    Description

      Expose the reference count over a region's store file readers as a metric in region metrics and also as a new field in RegionLoad. This will make visible the reader reference count over all stores in the region to both metrics capture and anything that consumes ClusterStatus, like the shell's status command and the master UI.

      Coprocessors that wrap scanners might leak them, which will leak readers. We log when this happens but in order to notice the increasing trend of reference counts you have to scrape log output. It would be better if this information is also available as a metric.

      Attachments

        1. HBASE-22459-branch-2.patch
          24 kB
          Andrew Kyle Purtell
        2. HBASE-22459-branch-2.patch
          16 kB
          Andrew Kyle Purtell
        3. HBASE-22459-branch-2.patch
          15 kB
          Andrew Kyle Purtell
        4. HBASE-22459-branch-1.patch
          42 kB
          Andrew Kyle Purtell
        5. HBASE-22459-branch-1.patch
          25 kB
          Andrew Kyle Purtell
        6. HBASE-22459-branch-1.patch
          24 kB
          Andrew Kyle Purtell
        7. HBASE-22459.patch
          22 kB
          Andrew Kyle Purtell
        8. HBASE-22459.patch
          16 kB
          Andrew Kyle Purtell
        9. HBASE-22459.patch
          15 kB
          Andrew Kyle Purtell

        Issue Links

          Activity

            People

              apurtell Andrew Kyle Purtell
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: