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

Wellington Chevreuil commented on HBASE-21828:
----------------------------------------------

Yeah, am running same VM version, and got same outputs as yours for the snippet 
you suggested.

Checking this further, I guess what is making tests pass regardless of the 
patch changes to  AsyncRegionLocator.withTimeout() method is that 
AsyncRegionLocator.getRegionLocation() is already implementing the listener 
that captures the correct exception (TimeoutException, in this case). 

> 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)

Reply via email to