hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaobing Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-17800) [C++] handle exceptions in client RPC
Date Mon, 20 Mar 2017 22:16:41 GMT

    [ 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

View raw message