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

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

I had done some work here. The compaction scanner also has caching enabled. So 
ever next() call accumulates the cells and then it is written to the writer. 
Best could be that as and when a cell is parsed from the underlying Bb directly 
write it to the new writer. But that could be costlier? 

> HFileScannerImpl.getCell() allocates cell object on every call
> --------------------------------------------------------------
>
>                 Key: HBASE-15543
>                 URL: https://issues.apache.org/jira/browse/HBASE-15543
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Vladimir Rodionov
>            Assignee: Vladimir Rodionov
>
> This accounts for 28% of memory allocation in compaction thread.



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

Reply via email to