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-12358) Create ByteBuffer backed Cell
Date Mon, 17 Nov 2014 06:48:34 GMT

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

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

Inorder to use getXXXBuffer() every where in the read path we would need to ensure on thing
is that from the memstore also we would get a BR backed Cell.  That could be an onheap BR
but will unify the code path instead of having multiple conditions.

> Create ByteBuffer backed Cell
> -----------------------------
>
>                 Key: HBASE-12358
>                 URL: https://issues.apache.org/jira/browse/HBASE-12358
>             Project: HBase
>          Issue Type: Sub-task
>          Components: regionserver, Scanners
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>         Attachments: HBASE-12358.patch, HBASE-12358_1.patch, HBASE-12358_2.patch
>
>
> As part of HBASE-12224 and HBASE-12282 we wanted a Cell that is backed by BB.  Changing
the core Cell impl would not be needed as it is used in server only.  So we will create a
BB backed Cell and use it in the Server side read path. This JIRA just creates an interface
that extends Cell and adds the needed API.
> The getTimeStamp and getTypebyte() can still refer to the original Cell API only.  The
getXXxOffset() and getXXXLength() can also refer to the original Cell only.



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

Mime
View raw message