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

Lars Hofhansl commented on HBASE-7233:
--------------------------------------

bq. 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.
That makes sense. Would need to be extremely careful to still have wire 
compatibility. I.e. when a new serialization format comes along for the KV 
block, we cannot just send the new encoding along (even when announced in the 
header), the other side would not know what to do with it.

bq. except when doing secure connection.. there we need to sasl wrap the byte 
array response
That's interesting. Is there no way around this?

We could use a GatheringByteChannel and then assemble the response piecemeal.

                
> 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