[
https://issues.apache.org/jira/browse/HBASE-7233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508174#comment-13508174
]
Lars Hofhansl commented on HBASE-7233:
--------------------------------------
That'd be cool! In Result we have pbs for Mutation, which serializes columns.
In M/R jobs there will be *massive* amounts of KVs that are streamed from the
mapper to the reducer, I do not think we want to introduce serialization that
needs to copy each KV in its entirety before it can serialized.
If that pb can serialize subportions of an array we can use Cell now and still
efficiently serialize KVs.
I.e. we'd have allow the pb to somehow know about the row array, row offset,
and rowlength, as well as CF array/offset/length, qual arrary/offset/length,
and value array/offset/length and be able to serialize the subportions of these
arrays.
If we have this is no longer matters whether the data is stored in a single
array or many.
(Just to state the obvious, that the whole idea behind the Cell interface).
> 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