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

region_mover#isSuccessfulScan may be extremely slow on region with lots of expired data

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0, 0.98.11, 1.0.2, 2.0.0
    • Component/s: scripts
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      region_mover will call isSuccessfulScan when region has moved to make sure it's healthy, however , if the moved region has lots of expired data region_mover#isSuccessfulScan will take a long time to finish ,that may even exceed "lease timeout".So I made isSuccessfulScan a get-like scan to achieve faster response in that case.

      workaround:before graceful_stop/rolling_restart ,call major_compact on the table with small TTL

        Attachments

        1. HBASE-12957-v0.patch
          1 kB
          hongyu bi

          Activity

            People

            • Assignee:
              hongyu.bi hongyu bi
              Reporter:
              hongyu.bi hongyu bi
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: