[
https://issues.apache.org/jira/browse/HBASE-7233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13529729#comment-13529729
]
Matt Corgan commented on HBASE-7233:
------------------------------------
{quote}I don't follow unless you are saying I should just use COS in place of
Encoder{quote}argh, i guess i don't have a better solution. Was thinking
encoder implementations implement the CellOutputStream, but the exceptions
complicate it. Would it be too weird to have CellOutputStream extend Encoder,
adding the IOException?
{quote}I want a random seeker Interface. This looks like it has what we'd
need.{quote}It's designed to be that, but might have a few more methods than
hbase currently needs. After some confusion, I found the EncodedSeeker does
almost everything it needs with just positionAtOrBefore(Cell key).
{quote}Ok on the vints... ugh{quote}
fyi - on the UVintTool, there's a method that pulls the value off an
InputStream without allocating objects: UVIntTool.getInt(InputStream is).
However, I think i'd recommend sticking to well-known hadoop formats for the
basic RPC stuff. If people actually write high performance clients in other
languages they would have to read/write these formats.
> Serializing KeyValues
> ---------------------
>
> 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.96.0
>
> Attachments: 7233sketch.txt, 7233.txt, 7233-v2.txt,
> 7233v3_encoders.txt, 7233v4_encoders.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