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

Correct RegionServer metric of totalRequestCount

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 1.3.0
    • Fix Version/s: 1.4.0, 2.0.0
    • Component/s: metrics, regionserver
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Hide
      In HBASE-18469 we introduced a new RegionServer metrics in name of "totalRowActionRequestCount" which counts in all row actions and equals to the sum of "readRequestCount" and "writeRequestCount". Meantime, we have changed "totalRequestCount" to count only once for multi request, while previously we will count in action number of the request. As a result, existing monitoring system on totalRequestCount will still work but see a smaller value, and we strongly recommend to change to use the new metrics to monitor server load.
      Show
      In HBASE-18469 we introduced a new RegionServer metrics in name of "totalRowActionRequestCount" which counts in all row actions and equals to the sum of "readRequestCount" and "writeRequestCount". Meantime, we have changed "totalRequestCount" to count only once for multi request, while previously we will count in action number of the request. As a result, existing monitoring system on totalRequestCount will still work but see a smaller value, and we strongly recommend to change to use the new metrics to monitor server load.

      Description

      when i get the metric ,i found this three metric may be have some error as follow :

      "totalRequestCount" : 17541,
      "readRequestCount" : 17483,
      "writeRequestCount" : 1633,

        Attachments

        1. HBASE-18469.branch-1.patch
          13 kB
          Yu Li
        2. HBASE-18469.v4.patch
          13 kB
          Yu Li
        3. HBASE-18469.v4.patch
          13 kB
          Yu Li
        4. HBASE-18469.v3.patch
          11 kB
          Yu Li
        5. HBASE-18469.v2.patch
          9 kB
          Yu Li
        6. HBASE-18469.patch
          8 kB
          Yu Li

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                carp84 Yu Li
                Reporter:
                zhangshibin Shibin Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: