[
https://issues.apache.org/jira/browse/HBASE-21828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16758967#comment-16758967
]
Duo Zhang commented on HBASE-21828:
-----------------------------------
Oh, the test for confirming that we do not return a CompletionException is
testNoCompletionException.
For the testTimeout method, we call Future.get, the code in CompletableFuture
will get the cause of the CompletionException and create a ExecutionException,
so it will be fine. That's why I need to use a errorHolder to get the Throwable
in the callback...
> Make sure we do not return CompletionException when locating region
> -------------------------------------------------------------------
>
> Key: HBASE-21828
> URL: https://issues.apache.org/jira/browse/HBASE-21828
> Project: HBase
> Issue Type: Sub-task
> Components: asyncclient, Client
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 3.0.0, 2.2.0, 2.1.3, 2.0.5, 2.3.0
>
> Attachments: HBASE-21828.patch
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)