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

stack commented on HBASE-15509:
-------------------------------

bq. How do we mitigate case where a Cell is 1G? All my threads now have thread 
locals of 1G though I've gone back to serving Cells of 16k?

I suppose above won't happen since we are resizing the buffer each time through 
(by throwing away the old, getting a new one, and inserting it into thread 
local)

> Avoid copy of block data in HFileBlock$Writer.finishBlock
> ---------------------------------------------------------
>
>                 Key: HBASE-15509
>                 URL: https://issues.apache.org/jira/browse/HBASE-15509
>             Project: HBase
>          Issue Type: Sub-task
>          Components: HFile
>            Reporter: Vladimir Rodionov
>            Assignee: Vladimir Rodionov
>         Attachments: HBASE-15509-v1.patch, HBASE-15509-v2.patch
>
>
> This calls ByteArrayOutputStream.toByteArray() which creates a copy of data 
> block. 



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

Reply via email to