[
https://issues.apache.org/jira/browse/HBASE-13537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14517244#comment-14517244
]
Stephen Yuan Jiang commented on HBASE-13537:
--------------------------------------------
eg. in 2.0, we have the following change:
{code}
- void createTableAsync(final HTableDescriptor desc, final byte[][] splitKeys)
throws IOException;
+ Future<Void> createTableAsync(final HTableDescriptor desc, final byte[][]
splitKeys) throws IOException;
{code}
in branch-1, we should just do:
{code}
+@Deprecated
void createTableAsync(final HTableDescriptor desc, final byte[][] splitKeys)
throws IOException;
{code}
We just want to notify users that a better version will come.
> 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)