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

[0.94] Unnecessary garbage produced by schema metrics during scanning

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.94.23
    • None
    • None
    • Reviewed

    Description

      Near the end of StoreScanner.next(...) we find this gem:

          } finally {
            if (cumulativeMetric > 0 && metric != null) {
              RegionMetricsStorage.incrNumericMetric(this.metricNamePrefix + metric,
                  cumulativeMetric);
            }
          }
      

      So, for each row generated we build up a new metric string, that will be identical for each invocation of the StoreScanner anyway (a store scanner is valid for at most one region and one operation).

      Attachments

        1. 11767.txt
          3 kB
          Lars Hofhansl

        Activity

          People

            larsh Lars Hofhansl
            larsh Lars Hofhansl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: