You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2014/05/26 06:24:01 UTC
[jira] [Updated] (HBASE-10771) Primitive type put/get APIs in
ByteRange
[ https://issues.apache.org/jira/browse/HBASE-10771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anoop Sam John updated HBASE-10771:
-----------------------------------
Attachment: HBASE-10771_V4.patch
Andy helped me to run a test for checking the inlining of put/getxxx() APIs.
As per that org.apache.hadoop.hbase.util.Bytes#explainWrongLengthOrOffset () is too big for inlining. The patch changes the getxxx() API to not to use Bytes#putxxx API. That code is copy pasted to SimpleByteRange without the sanity checking.
Also addressed comment about adding a test where lots of KV are written and read back from a PBR.
> Primitive type put/get APIs in ByteRange
> -----------------------------------------
>
> Key: HBASE-10771
> URL: https://issues.apache.org/jira/browse/HBASE-10771
> Project: HBase
> Issue Type: Improvement
> Reporter: Anoop Sam John
> Assignee: Anoop Sam John
> Fix For: 0.99.0
>
> Attachments: HBASE-10771.patch, HBASE-10771_V2.patch, HBASE-10771_V3.patch, HBASE-10771_V4.patch
>
>
> While doing HBASE-10713 I came across the need to write int/long (and read also) from a ByteRange. CellBlocks are backed by ByteRange. So we can add such APIs.
> Also as per HBASE-10750 we return a ByteRange from MSLAB and also discussion under HBASE-10191 suggest we can have BR backed HFileBlocks etc.
--
This message was sent by Atlassian JIRA
(v6.2#6252)