[
https://issues.apache.org/jira/browse/HBASE-15544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215416#comment-15215416
]
Anoop Sam John commented on HBASE-15544:
----------------------------------------
For a normal read, we may not be able to reuse them. The cells read from this
block might not have been written out to RPC layer yet! The cells will
directly refer to these byte[] to which we read from HDFS. Ya in case of
compaction, we may reuse them. We have already written the cells to compacted
file writer.
> HFileReaderImpl.readBlock allocates memory for HFileBlock on every call
> -----------------------------------------------------------------------
>
> Key: HBASE-15544
> URL: https://issues.apache.org/jira/browse/HBASE-15544
> Project: HBase
> Issue Type: Sub-task
> Components: Compaction
> Reporter: Vladimir Rodionov
> Assignee: Vladimir Rodionov
> Fix For: 2.0.0
>
>
> This accounts for 25% of memory allocation during compaction when compression
> is enabled.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)