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

Bryan Duxbury commented on HBASE-794:
-------------------------------------

I'm not sure that this will work out for you, but you *could* make Cell inherit 
from TCell. If you did that, then the Thrift serialization code would be the 
same, but you could have additional methods on Cell that implemented all your 
domain specific logic. Obviously, this won't work if Cell needs to extend some 
other class.

I have also been thinking if it would be possible for Thrift to take either 
native byte[] or some sort of buffer and offset/length structure, which is what 
KeyValue sounds like (correct me if I'm wrong).

> Language neutral IPC as a first class component of HBase architecture
> ---------------------------------------------------------------------
>
>                 Key: HBASE-794
>                 URL: https://issues.apache.org/jira/browse/HBASE-794
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: client, ipc, master, regionserver
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>
> This issue considers making a language neutral IPC mechanism and wire format 
> a first class component of HBase architecture. Clients could talk to the 
> master and regionserver using this protocol instead of HRPC at their option.
> Options for language neutral IPC include:
> * Thrift: http://incubator.apache.org/thrift/
> * Protocol buffers: http://code.google.com/p/protobuf/
> * XDR: http://en.wikipedia.org/wiki/External_Data_Representation

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to