hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13537) Change the admin interface for async operations to return Future.
Date Tue, 28 Apr 2015 06:13:06 GMT

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

Matteo Bertozzi commented on HBASE-13537:
-----------------------------------------

deprecate in theory means "do not use it. it will be gone"
but in this case the method is still there and it is your only option.

this change is 2.0 only, so breaking compatibility is ok.
for the deprecation I don't see the reason. since we are just change the return type
and it is up to you using it or not. if your code is createTableAsync(desc) you can just recompile
and everything it will be working as before.

> Change the admin interface for async operations to return Future.
> -----------------------------------------------------------------
>
>                 Key: HBASE-13537
>                 URL: https://issues.apache.org/jira/browse/HBASE-13537
>             Project: HBase
>          Issue Type: Sub-task
>          Components: proc-v2
>    Affects Versions: 2.0.0
>            Reporter: Srikanth Srungarapu
>            Assignee: Srikanth Srungarapu
>             Fix For: 2.0.0
>
>         Attachments: HBASE-13537.patch, HBASE-13537.patch, HBASE-13537.patch, HBASE-13537_v2.patch
>
>
> At the moment, the async operations are returning void. This task aims to change the
return type to Future and remove the aysnc wrapper methods.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message