hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16784) Make use of ExtendedCell#write(OutputStream os) for the default HFileWriter#append()
Date Thu, 06 Oct 2016 17:52:20 GMT

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

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

I need to see whether the tag len always has to be written even if it is 0. But that is another
topic. May be we should.

> Make use of ExtendedCell#write(OutputStream os) for the default HFileWriter#append()
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-16784
>                 URL: https://issues.apache.org/jira/browse/HBASE-16784
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0
>
>         Attachments: HBASE-16784.patch
>
>
> Initially this I was thinking we need to add an interface to represent the fact that
the key is contiguous. But since Extendedcell is added encapsulating all the internal interfaces
and adds a write(OutputStream , boolean) and tries to exploit the fact that the Cell is in
KV serialized format. Hence we can make use of it in HFileWriter#append() code in case of
No encoding case.



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

Mime
View raw message