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-10719) Cell interface may need a ByteBuffer rather than a byte[]
Date Wed, 12 Mar 2014 06:11:43 GMT

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

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

bq.I thought a first step could be making only the value field a ByteBuffer (or ByteRange)
since even encoders don't (or shouldn't) need to copy that.
You mean the DataBlockEncoders here?


> Cell interface may need a ByteBuffer rather than a byte[]
> ---------------------------------------------------------
>
>                 Key: HBASE-10719
>                 URL: https://issues.apache.org/jira/browse/HBASE-10719
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>
> See discussion in HBASE-10531. 
> The byte[] backing a cell may be off heap also.  In such a case having a byte[] may require
a copy offheap to on heap.  So better to have ByteBuffer backing a Cell.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message