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

Improve performance of move_servers_rsgroup and move_tables_rsgroup by using async region move API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.4.0
    • rsgroup
    • None
    • Reviewed

    Description

      Currently move_servers_rsgroup and move_tables_rsgroup commands and APIs are taking lot of time.
      In my test environment, to move a server with 100 regions it takes around 137 seconds.
      Similarly it takes around same time to move a table with 100 regions to other group.

      The time taken in rsgroup meta update is negligible. Almost all the time is taken in region moment. This is happening because region is moved serially using getAssignmentManager().move(region) API

      API getAssignmentManager().moveAsync(regionplan) can be used to move the regions in parallel to improve the performance of region group move servers and tables commands and APIs

      Attachments

        Activity

          People

            arshad.mohammad Mohammad Arshad
            arshad.mohammad Mohammad Arshad
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: