hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14398) Create the fake keys required in the scan path to avoid copy to byte[]
Date Tue, 06 Oct 2015 23:02:26 GMT

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

stack commented on HBASE-14398:
-------------------------------

bq. This was a long discussion that we had before finalising. 

Yeah. I remember that one. Seems to be about a topic that is a little different to the question
here.

Why does ByteBufferedCell have to have getFamilyPositionInByteBuffer at all? Why can't I just
call getFamilyOffset on the ByteBufferedCell implementation and it returns me an offset that
makes sense on the ByteBuffer returned out of getFamilyByteBuffer? (A Cell can't be simultaneously
onheap and offheap at same time, right)

> Create the fake keys required in the scan path to avoid copy to byte[]
> ----------------------------------------------------------------------
>
>                 Key: HBASE-14398
>                 URL: https://issues.apache.org/jira/browse/HBASE-14398
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0
>
>         Attachments: HBASE-14398.patch, HBASE-14398_1.patch
>
>
> Already we have created some fake keys for the ByteBufferedCells so that we can avoid
the copy requried to create fake keys. This JIRA aims to fill up all such places so that the
Offheap BBs are not copied to onheap byte[].



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

Mime
View raw message