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

Xiaobing Zhou edited comment on HBASE-17800 at 3/20/17 10:16 PM:
-----------------------------------------------------------------

posted v0 patch. It basically defines RemoteException and its subclass 
DoNotRetryIOException to map ExceptionResponse in proto. RemoteException is 
wrapped in hbase::Response. In the pipeline, ClientDispatcher::read will return 
Future with either hbase::Response or std::exception (RemoteException as its 
subclass). The std::exception will be propagated up to RPCConnection and 
AsyncSingleRequestRpcRetryingCaller where the retry handlers are triggered.


was (Author: xiaobingo):
posted v0 patch.

> [C++] handle exceptions in client RPC
> -------------------------------------
>
>                 Key: HBASE-17800
>                 URL: https://issues.apache.org/jira/browse/HBASE-17800
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
>         Attachments: HBASE-17800-HBASE-14850.000.patch
>
>
> Exceptions are ignored in current client RPC. They should be handled properly 
> to be consumed by RPC retry or propagated up to APIs.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to