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

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

Creating specific writers will help to customise writers for compactions, like 
for eg. adding a BbPool for the byte[] that gets created in finalizeBlock() can 
be done only for a compaction write flow alone. 

> Create compaction specific writer that are of type ShipperListener
> ------------------------------------------------------------------
>
>                 Key: HBASE-16782
>                 URL: https://issues.apache.org/jira/browse/HBASE-16782
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> In HBASE-16372, there was a discussion around having Compaction specific 
> writers so that only those writers are of type ShipperListener. Though some 
> of the patches attached there was able to do it, still changin 
> StoreFileWriter was affecting MOB and MR as the builder inside it was 
> private. 
> This improvement JIRA is to ensure all we create compaction specific writers.
> For now only the compaciton flow calls ShipperListener#beforeShipped() so 
> should be fine as of now.



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

Reply via email to