hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7233) Remove Writable Interface from KeyValue
Date Mon, 03 Dec 2012 05:00:01 GMT

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

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

You are right. I was looking at Mutate, which (for Put/Delete/Append) also serializes KVs,
but there it does it column by column. Sigh.

Re: Custom PB. Specifically what I meant is something that can serialize a "Cell" that is
composed of four separate byte[]'s (row/cf/qual/val) and then de-serialize as a single byte[],
and vice versa (without copying the bytes - other than copying them into network buffers where
necessary)
Maybe something can be done with union types or extensions.
(Ironically with Writables this would be a trivial problem to solve)

Cell[In|Out]PutStream would use PBs? If not, we're where we started :)

                
> Remove Writable Interface from KeyValue
> ---------------------------------------
>
>                 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

Mime
View raw message