hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guanghao Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-18234) Revisit the async admin api
Date Tue, 20 Jun 2017 04:50:00 GMT

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

Guanghao Zhang updated HBASE-18234:
-----------------------------------
    Description: 
1. Update the balance method name. 
balancer -> balance
setBalancerRunning -> setBalancerOn
isBalancerEnabled -> isBalancerOn
2. Use HRegionLocation instead of Pair<HRegionInfo, ServerName>
3. Remove the closeRegionWithEncodedRegionName method. Because all other api can handle region
name or encoded region name both. So don't need a method for encoded name.
4. Unify the region name parameter's type to byte[]. And region name may be full name or encoded
name.
5. Unify the server name parameter's type to ServerName. For smoe api, it support null for
server name. So use Optional<ServerName> instead.
6. Unify the table name parameter's type to TableName.

  was:
1. Update the balance method name. 
balancer -> balance
setBalancerRunning -> setBalancerOn
isBalancerEnabled -> isBalancerOn
2. Use HRegionLocation instead of Pair<HRegionInfo, ServerName>
3. Remove the closeRegionWithEncodedRegionName method. Because all other api can handle region
name or encoded region name both. So don't need a method for encoded name.


> Revisit the async admin api
> ---------------------------
>
>                 Key: HBASE-18234
>                 URL: https://issues.apache.org/jira/browse/HBASE-18234
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Client
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>             Fix For: 2.0.0, 3.0.0
>
>         Attachments: HBASE-18234.master.001.patch, HBASE-18234.master.002.patch
>
>
> 1. Update the balance method name. 
> balancer -> balance
> setBalancerRunning -> setBalancerOn
> isBalancerEnabled -> isBalancerOn
> 2. Use HRegionLocation instead of Pair<HRegionInfo, ServerName>
> 3. Remove the closeRegionWithEncodedRegionName method. Because all other api can handle
region name or encoded region name both. So don't need a method for encoded name.
> 4. Unify the region name parameter's type to byte[]. And region name may be full name
or encoded name.
> 5. Unify the server name parameter's type to ServerName. For smoe api, it support null
for server name. So use Optional<ServerName> instead.
> 6. Unify the table name parameter's type to TableName.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message