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] [Commented] (HBASE-18466) [C++] Support handling exception in RpcTestServer
Date Fri, 28 Jul 2017 20:51:00 GMT

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

Xiaobing Zhou commented on HBASE-18466:
---------------------------------------

Posted v1:
# fixed promise broken issue when ResponseHeader::set_allocated_exception(pb::ExceptionResponse)
is called without new style allocation of pb::ExceptionResponse.

> [C++] Support handling exception in RpcTestServer
> -------------------------------------------------
>
>                 Key: HBASE-18466
>                 URL: https://issues.apache.org/jira/browse/HBASE-18466
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
>         Attachments: HBASE-18466.000.patch, HBASE-18466.001.patch
>
>
> In order simulate various error from servers,  exceptions should be handled properly.
The idea is to zip exception into hbase::Response in RpcTestService, and Serialize response
to folly::IOBuf and write it down the pipeline.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message