[
https://issues.apache.org/jira/browse/HBASE-7533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13556609#comment-13556609
]
Enis Soztutar commented on HBASE-7533:
--------------------------------------
One relevant argument, I have heard from Sanjay, is that if you are writing a
PB client in C for HBase, then basically, you shouldn't be relying on the
Java's semantics of exceptions. If you consider something like
RegionMovedException, it is a case where the C client might want to inspect and
do some action.
Elliot, how would you suggest we pass the RegionMovedException from
RegionServer through the ipc? The region server will throw an actual exception
wrapping the message which will be understood by the ipc layer, or the region
server does not throw the exception, but set the exception message to the
response?
> Write an RPC Specification for 0.96
> -----------------------------------
>
> Key: HBASE-7533
> URL: https://issues.apache.org/jira/browse/HBASE-7533
> Project: HBase
> Issue Type: Bug
> Reporter: stack
> Assignee: stack
> Fix For: 0.96.0
>
> Attachments: 7533_proto_sketch.txt
>
>
> RPC format is changing for 0.96 to accomodate our protobufing all around.
> Here is a first cut. Please shred:
> https://docs.google.com/document/d/1-1RJMLXzYldmHgKP7M7ynK6euRpucD03fZ603DlZfGI/edit
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira