You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org> on 2013/03/14 17:26:14 UTC

[jira] [Commented] (HBASE-7233) Serializing KeyValues over RPC

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

ramkrishna.s.vasudevan commented on HBASE-7233:
-----------------------------------------------

bq.Tags are a little different than our current fields because there are multiple per Cell
The above comment is from Matt.
So basically we say we will have multiple tags for a Cell.  
Which means cell which internally is now a represenation of a KV will have more than one additional attributes added to it (which is Tags) and one among them will be an ACL tag, visibility tag etc.
So now how will we say which tag to see if i want to know only the Visibility part of the Cell?  
I could see an tagIterator() api added that iterates thro the tags, so is it like every time iterate to find out which is my Visisbility tag.
Will there be a mechanism which says visibility tag should be the first tag or second .something like that?
                
> Serializing KeyValues 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
>             Fix For: 0.95.0
>
>         Attachments: 7233sketch.txt, 7233.txt, 7233v10.txt, 7233-v2.txt, 7233v3_encoders.txt, 7233v4_encoders.txt, 7233v5_encoders.txt, 7233v6_encoder.txt, 7233v7.txt, 7233v9.txt
>
>
> Undo KeyValue being a Writable.
> This issue wandered and became general discussion of KeyValue serialization, in particular, how to pass lots of KeyValues across rpc.  It was noticed that what we were passing over the wire for KeyValues was not protobuf'd KeyValues but the old serialization which assumes the KeyValue version 1 format.  After a bunch of good discussion working out rpc formats, was decided to close this issue in favor of more specific issues: see summary at https://issues.apache.org/jira/browse/HBASE-7233?focusedCommentId=13573259&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13573259

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