[
https://issues.apache.org/jira/browse/HBASE-13916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14588951#comment-14588951
]
stack commented on HBASE-13916:
-------------------------------
bq. Just because of this I thought of keeping this hasArray() true when MBB is
backed by a single on heap BB.
I thought about it more and I think it is fine as is. Would prefer a beefed up
class comment on how it is to be used (and when this rather than BBArray).
bq. May be all these byte[] and BB related unsafe access has to go in there and
Bytes and BBUtils etc has to use that.
Sounds good. Another patch.
What did you think of an nio package? Seems like we have enough ByteBuffering
classes to give it substance now.
> Create MultiByteBuffer
> ----------------------
>
> Key: HBASE-13916
> URL: https://issues.apache.org/jira/browse/HBASE-13916
> Project: HBase
> Issue Type: Sub-task
> Components: regionserver, Scanners
> Reporter: Anoop Sam John
> Assignee: Anoop Sam John
> Fix For: 2.0.0
>
> Attachments: HBASE-13916.patch, HBASE-13916_V2.patch
>
>
> This is an aggregation of N ByteBuffers. The block when served directly by
> block cache buckets memory, we have the block data split across multiple byte
> buffers. This aggregate type (like ByteBuffer) will serve the HFileBlock data.
> This jira wil just provide the new data structure
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)