hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-7533) Write an RPC Specification for 0.96
Date Thu, 24 Jan 2013 21:29:13 GMT

     [ https://issues.apache.org/jira/browse/HBASE-7533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

stack updated HBASE-7533:

    Attachment: rpc_spec3.txt

Redo to match spec.  Let me do edit pass on spec. and run this through tests then put up a
patch on rb.

On patch, we used to pass in a fat pb object that was most of the header info and then included
the pb request param. Now we pass header and param separately.  Thats the spec.

Adds comments and some method and data member renaming to better match spec and pb.

Because more of protocol in pb and because an rpc request is made of a pb header and the already
made pb param -- e.g. GetRequest, etc. -- and because we pass exceptions as pb, etc., HBaseServer
and HBaseClient has more pb in it now; e.g. assembling the headers to make requests, undoing

If error, the pb'd exception carries server/port if regionmoved and it is marked do not retry
if exception is such.

Remove dead code: ParallelCall, ParallelReturn

Added IPCUtil, FatalConnectionException

Moved internal classes out of HBaseServer and HRegionServer.

Getting the encoded datablocks the spec talks of in there is a todo as is pb'ing the kv and
work to cut down on buffer copies (the latter is a separate issue).
> 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_spec3.txt, rpc_spec.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

View raw message