Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8370 Report data block cache hit rates apart from aggregate cache hit rates
  3. HBASE-11229

Change block cache percentage metrics to be doubles rather than ints

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.99.0
    • metrics
    • None
    • Incompatible change, Reviewed
    • Hide
      Renames metric "blockCountHitPercent" as "blockCacheCountHitPercent". Changes this metrics type from int to double.

      Small changes in this metric can have significant impact serving. While this metric may show 99.xx percent, most of the cache hits are because we are fetching index and bloom blocks. A significant percentage of data block evictions may only register as a small change in this metric. Keep an eye on evictions as well changes (even if small) in this metric.
      Show
      Renames metric "blockCountHitPercent" as "blockCacheCountHitPercent". Changes this metrics type from int to double. Small changes in this metric can have significant impact serving. While this metric may show 99.xx percent, most of the cache hits are because we are fetching index and bloom blocks. A significant percentage of data block evictions may only register as a small change in this metric. Keep an eye on evictions as well changes (even if small) in this metric.

    Description

      See parent issue. Small changes in the hit percentage can have large implications, even when movement is inside a single percent: i.e. going from 99.11 to 99.87 percent. As is, percents are ints. Make them doubles.

      Attachments

        1. 11229.addendum.txt
          1.0 kB
          Michael Stack
        2. 11229.txt
          3 kB
          Michael Stack

        Activity

          People

            stack Michael Stack
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: