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

Add a metric for the duration of region in transition

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.0, 2.0.0
    • 1.4.0, 1.3.3, 2.0.0
    • Region Assignment
    • None

    Description

      When work for HBASE-17178, I found there are not a metric for the overall duration of region in transition. When move a region form A to B, the transformation of region state is PENDING_CLOSE => CLOSING => CLOSED => PENDING_OPEN => OPENING => OPENED. When transform old region state to new region state, it update the time stamp to current time. So we can't get the overall transformation's duration of region in transition. Add a rit duration to RegionState for accumulating this metric.

      Attachments

        1. HBASE-17205.patch
          7 kB
          Guanghao Zhang
        2. HBASE-17205-v1.patch
          7 kB
          Guanghao Zhang
        3. HBASE-17205-branch-1.patch
          9 kB
          Guanghao Zhang
        4. HBASE-17205-v1.patch
          7 kB
          Guanghao Zhang

        Activity

          People

            zghao Guanghao Zhang
            zghao Guanghao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: