[
https://issues.apache.org/jira/browse/HBASE-13754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14562658#comment-14562658
]
Hudson commented on HBASE-13754:
--------------------------------
SUCCESS: Integrated in HBase-TRUNK #6520 (See
[https://builds.apache.org/job/HBase-TRUNK/6520/])
HBASE-13754 Allow non KeyValue Cell types also to oswrite. (anoopsamjohn: rev
7de4881e3a6a18b00a9d14e24c6aae7f1b64919d)
* hbase-common/src/main/java/org/apache/hadoop/hbase/NoTagsKeyValue.java
* hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValueUtil.java
* hbase-common/src/main/java/org/apache/hadoop/hbase/Streamable.java
* hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java
*
hbase-common/src/main/java/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.java
> Allow non KeyValue Cell types also to oswrite
> ---------------------------------------------
>
> Key: HBASE-13754
> URL: https://issues.apache.org/jira/browse/HBASE-13754
> Project: HBase
> Issue Type: Sub-task
> Components: Scanners
> Reporter: Anoop Sam John
> Assignee: Anoop Sam John
> Fix For: 2.0.0
>
> Attachments: HBASE-13754.patch, HBASE-13754_V2.patch,
> HBASE-13754_V3.patch, HBASE-13754_V4.patch
>
>
> While making the cellblock for returning data to client, we have to write the
> cell data into an OutputStream. KeyValue has a static oswrite() method with
> which it can write data in one go. (KeyValue components are in a single
> byte[]). For other cell implementation, we will call getXXXLength() and
> getXXXArray() and write each component one after the other. This is not
> efficient as the KeyValue way. In fact other cell impls also may have one
> contigous byte[] backing for keys atleast. (See ClonedSeekerState) We can
> optimize for such Cells also.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)