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

Lars Hofhansl commented on HBASE-7725:
--------------------------------------

Discussing this a bit further with Jesse. In addition to this for our use case 
it would be extremely helpful if we could attach some meta-data (or attributes) 
to a CompactionRequest and have that available in the coprocessor hooks. At 
least in preCompactScannerOpen, but probably also in preCompact, postCompact, 
preCompactSelection, postCompactSelection.

(The goal is to custom compaction instances in the compaction queue, seems 
easiest to do this with coprocessors this way.)

                
> Add ability to block on a compaction request for a region
> ---------------------------------------------------------
>
>                 Key: HBASE-7725
>                 URL: https://issues.apache.org/jira/browse/HBASE-7725
>             Project: HBase
>          Issue Type: Bug
>          Components: Compaction, Coprocessors, regionserver
>            Reporter: Jesse Yates
>            Assignee: Jesse Yates
>             Fix For: 0.96.0, 0.94.5
>
>         Attachments: example.java, hbase-7725_0.94-v0.patch
>
>
> You can request that a compaction be started, but you can't be sure when that 
> compaction request completes. This is a simple update to the 
> CompactionRequest interface and the compact-split thread on the RS that 
> doesn't actually impact the RS exposed interface.
> This is particularly useful for CPs so they can control starting/running a 
> compaction.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to