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 2017/07/04 09:42:01 UTC

[jira] [Comment Edited] (HBASE-17359) Implement async admin

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

Guanghao Zhang edited comment on HBASE-17359 at 7/4/17 9:41 AM:
----------------------------------------------------------------

I thought all Admin's methods were done in AsyncAdmin, so I said the only blocking thing is the document in previous comment. But toady I compared AsyncAdmin with Admin interface and found some methods which were not implemented...... I will open new issues to fill them. Thanks.


was (Author: zghaobac):
Compared with Admin interface, I found some methods which were not implemented in AsyncAdmin...... I will open new issues to fill them. Thanks.

> Implement async admin
> ---------------------
>
>                 Key: HBASE-17359
>                 URL: https://issues.apache.org/jira/browse/HBASE-17359
>             Project: HBase
>          Issue Type: Umbrella
>          Components: Client
>            Reporter: Duo Zhang
>            Assignee: Guanghao Zhang
>              Labels: asynchronous
>             Fix For: 2.0.0
>
>
> And as we will return a CompletableFuture, I think we can just remove the XXXAsync methods, and make all the methods blocking which means we will only finish the CompletableFuture when the operation is done. User can choose whether to wait on the returned CompletableFuture.
> Convert this to a umbrella task. There maybe some sub-tasks.
> 1. Table admin operations.
> 2. Region admin operations.
> 3. Namespace admin operations.
> 4. Snapshot admin operations.
> 5. Replication admin operations.
> 6. Other operations, like quota, balance......



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