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

stack commented on HBASE-7233:
------------------------------

As I see it then, we'll send a pb Result and then on the wire, it'll be 
directly followed by an encoded block of KVs.  The Result will describe the 
block that is coming immediately after.  Need to do same for Mutation sending 
in the data.

Hopefully, can doctor the rpc so I can get better access to the channel.  
Currently we are composing the response in a bytebuffer that we give to a 
WritableByteChannel (this is after pb has done similar when we build the 
messages).  The composing of the response in a bytebuffer is a known temporary 
stopgap while moving to pb but we'll need to undo it before we ship (except 
when doing secure connection.. there we need to sasl wrap the byte array 
response).

Let me finish the baseline case where we do pure pb throughout.  Then will have 
a go at trying to send a follow-along encoded block.
                
> Serializing KeyValues when passing them over RPC
> ------------------------------------------------
>
>                 Key: HBASE-7233
>                 URL: https://issues.apache.org/jira/browse/HBASE-7233
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: stack
>            Priority: Blocker
>         Attachments: 7233.txt, 7233-v2.txt
>
>
> Undo KeyValue being a Writable.

--
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

Reply via email to