hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18234) Revisit the async admin api
Date Mon, 26 Jun 2017 15:50:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-18234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16063283#comment-16063283
] 

Hudson commented on HBASE-18234:
--------------------------------

SUCCESS: Integrated in Jenkins build HBase-Trunk_matrix #3265 (See [https://builds.apache.org/job/HBase-Trunk_matrix/3265/])
HBASE-18234 Revisit the async admin api (zghao: rev 2d781aa15c9535c3845692a275c8babca2c45568)
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcedureAdminApi.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionServerBulkLoadWithOldClient.java
* (edit) hbase-endpoint/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionServerBulkLoadWithOldSecureEndpoint.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTableAdminApi.java
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/RequestConverter.java
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/AsyncMetaTableAccessor.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncSnapshotAdminApi.java
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncAdmin.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncRegionAdminApi.java
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncHBaseAdmin.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncNamespaceAdminApi.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionServerBulkLoad.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncBalancerAdminApi.java


> 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: 3.0.0, 2.0.0-alpha-2
>
>         Attachments: HBASE-18234.master.001.patch, HBASE-18234.master.002.patch, HBASE-18234.master.003.patch,
HBASE-18234.master.004.patch, HBASE-18234.master.005.patch, HBASE-18234.master.006.patch,
HBASE-18234.master.006.patch, HBASE-18234.master.006.patch, HBASE-18234.master.007.patch,
HBASE-18234.master.008.patch, HBASE-18234.master.009.patch, HBASE-18234.master.010.patch,
HBASE-18234.master.010.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.
> 7. Unify all list* method only support Pattern as the parameter type.



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

Mime
View raw message