hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj Das (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5705) Introduce Protocol Buffer RPC engine
Date Thu, 26 Jul 2012 18:11:35 GMT

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

Devaraj Das commented on HBASE-5705:
------------------------------------

bq. The Writable wrapper goes away when we move to pb engine?

Yes (AFAICT).

bq. Its header length only right? Thats ok I'd say. But for the value, when its a 50M cell,
we won't have to read it into a buffer to find its size before sending will we when we are
pb? (pb does this internally probably but we do we have to do it again outside of pb to put
it in rpc header?)

No we don't have to write to a buffer in the case of PB objects. There is a getSerializedSize
method on PB objects (and assuming that the 50M cell is encapsulated in the PB object as a
byte-array, PB would simply call byte-array.length...).


                
> Introduce Protocol Buffer RPC engine
> ------------------------------------
>
>                 Key: HBASE-5705
>                 URL: https://issues.apache.org/jira/browse/HBASE-5705
>             Project: HBase
>          Issue Type: Sub-task
>          Components: ipc, master, migration, regionserver
>            Reporter: Devaraj Das
>            Assignee: Devaraj Das
>             Fix For: 0.96.0
>
>         Attachments: 5705-1.patch, 5705-2.1.patch, 5705-2.2.patch
>
>
> Introduce Protocol Buffer RPC engine in the RPC core. Protocols that are PB aware can
be made to go through this RPC engine. The approach, in my current thinking, would be similar
to HADOOP-7773.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message