You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org> on 2016/03/29 09:11:25 UTC

[jira] [Commented] (HBASE-15543) HFileScannerImpl.getCell() allocates cell object on every call

    [ 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)