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

RegionServer Metrics improvements

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 1.4.0, 2.0.0-alpha-2, 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Hide
      This change adds the latency metrics checkAndPut, checkAndDelete, putBatch and deleteBatch . Also the previous regionserver "mutate" latency metrics are renamed to "put" metrics. Batch metrics capture the latency of the entire batch containing put/delete whereas put/delete metrics capture latency per operation. Note this change will break existing monitoring based on regionserver "mutate" latency metric.
      Show
      This change adds the latency metrics checkAndPut, checkAndDelete, putBatch and deleteBatch . Also the previous regionserver "mutate" latency metrics are renamed to "put" metrics. Batch metrics capture the latency of the entire batch containing put/delete whereas put/delete metrics capture latency per operation. Note this change will break existing monitoring based on regionserver "mutate" latency metric.

      Description

      At the RS level we have latency metrics for mutate/puts and deletes that are updated per batch (ie. at the end of entire batchop if it contains put/delete update the respective metric) in contrast with append/increment/get metrics that are updated per op. This is a bit ambiguous since the delete and put metrics are updated for multi row mutations that happen to contain a put/delete. We should rename the metric(eg. delete_batch)/add better description. Also we should add metrics for single delete client operations that come through RSRpcServer.mutate path. We should also add metrics for checkAndPut and checkAndDelete.

        Attachments

        1. HBASE-18374.branch-1.001.patch
          14 kB
          Abhishek Singh Chouhan
        2. HBASE-18374.branch-1.001.patch
          14 kB
          Abhishek Singh Chouhan
        3. HBASE-18374.branch-1.002.patch
          14 kB
          Abhishek Singh Chouhan
        4. HBASE-18374.branch-1.003.patch
          16 kB
          Abhishek Singh Chouhan
        5. HBASE-18374.master.001.patch
          10 kB
          Abhishek Singh Chouhan
        6. HBASE-18374.master.002.patch
          12 kB
          Abhishek Singh Chouhan
        7. HBASE-18374.master.003.patch
          14 kB
          Abhishek Singh Chouhan
        8. HBASE-18374.master.004.patch
          14 kB
          Abhishek Singh Chouhan
        9. HBASE-18374.master.005.patch
          16 kB
          Abhishek Singh Chouhan

          Issue Links

            Activity

              People

              • Assignee:
                abhishek.chouhan Abhishek Singh Chouhan
                Reporter:
                abhishek.chouhan Abhishek Singh Chouhan
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: