hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10719) Cell interface may need a ByteBuffer rather than a byte[]
Date Tue, 11 Mar 2014 05:46:43 GMT

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

Lars Hofhansl commented on HBASE-10719:
---------------------------------------

Didn't think of it that way, but that's even more general.

I wonder if in the end there is any advantage (other than simplicity) in having a Cell implementation
backed by byte[]s rather than a ByteBuffers.


> 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