You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guanghao Zhang (JIRA)" <ji...@apache.org> on 2018/09/28 10:44:00 UTC

[jira] [Updated] (HBASE-21251) Refactor RegionMover

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

Guanghao Zhang updated HBASE-21251:
-----------------------------------
    Description: 
1. Move connection and admin to RegionMover's member variables. No need create connection many times.
2. use try-with-resource to reduce code
3. use ServerName instead of String
4. don't use Deprecated method
5. remove duplicate code
6. reuse the thread pool and no need create many times.
......

  was:
1. Move connection and admin to RegionMover's member variables. No need create connection many times.
2. use try-with-resource to reduce code
3. use ServerName instead of String
4. don't use Deprecated method
5. remove duplicate code
......


> Refactor RegionMover
> --------------------
>
>                 Key: HBASE-21251
>                 URL: https://issues.apache.org/jira/browse/HBASE-21251
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>            Priority: Major
>
> 1. Move connection and admin to RegionMover's member variables. No need create connection many times.
> 2. use try-with-resource to reduce code
> 3. use ServerName instead of String
> 4. don't use Deprecated method
> 5. remove duplicate code
> 6. reuse the thread pool and no need create many times.
> ......



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)