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 15:38:06 GMT

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

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

again, put the deprecation on what? why are not removing/replacing anything.
since we know that with 2.0 we can break binary compatibility, we are just changing the return
type.
there is no "use this method instead of that", what we are doing is more like "hey, if you
want you can use the return type to wait on the operation to be completed".
if you take your code in 1.x and recompile with 2.x everything will keep 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