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

stack commented on HBASE-12069:
-------------------------------

bq. append(final byte[] key, final byte[] value) -> Expects the key to be in 
KeyValue key format now.

[~anoop.hbase] Yeah.  I'm going to remove these.

Doing it for HFile.Writer is easy.

HFile.Reader is another story altogether.  For example, there is an API that 
returns the last key in the file -- formatted as a KV 'key' --  that makes it 
out to the StoreFile Interface (getLastKey) and is used in MR jobs.  You fellas 
have any ideas on how to strip this stuff down other than via elbow-grease?

> Finish making HFile.Writer Cell-centric; undo APIs that expect KV 
> serializations.
> ---------------------------------------------------------------------------------
>
>                 Key: HBASE-12069
>                 URL: https://issues.apache.org/jira/browse/HBASE-12069
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.99.1
>
>
> See tail of parent task for discussion. Our HFile.Writer and HFile.Reader 
> both have methods that have the client serialize Cells in the old KeyValue 
> way.  Purge these methods from these private classes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to