You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2020/10/08 17:31:00 UTC

[jira] [Resolved] (HBASE-24025) Improve performance of move_servers_rsgroup and move_tables_rsgroup by using async region move API

     [ https://issues.apache.org/jira/browse/HBASE-24025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Stack resolved HBASE-24025.
-----------------------------------
    Fix Version/s: 3.0.0-alpha-1
     Hadoop Flags: Reviewed
       Resolution: Fixed

Merged to master. Thanks for patch [~arshad.mohammad]

> Improve performance of move_servers_rsgroup and move_tables_rsgroup by using async region move API
> --------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-24025
>                 URL: https://issues.apache.org/jira/browse/HBASE-24025
>             Project: HBase
>          Issue Type: Improvement
>          Components: rsgroup
>            Reporter: Mohammad Arshad
>            Assignee: Mohammad Arshad
>            Priority: Major
>             Fix For: 3.0.0-alpha-1
>
>
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)