You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/03/05 08:54:27 UTC

[jira] [Commented] (HBASE-7725) Add ability to create custom compaction request

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

Hudson commented on HBASE-7725:
-------------------------------

Integrated in HBase-0.94-security-on-Hadoop-23 #12 (See [https://builds.apache.org/job/HBase-0.94-security-on-Hadoop-23/12/])
    HBASE-7725: Add ability to create custom compaction request (Revision 1451057)

     Result = FAILURE
jyates : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/coprocessor/BaseRegionObserver.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionObserver.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplitThread.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/CompactionRequestor.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/Compactor.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactionRequest.java
* /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestCompaction.java

                
> Add ability to create custom compaction request
> -----------------------------------------------
>
>                 Key: HBASE-7725
>                 URL: https://issues.apache.org/jira/browse/HBASE-7725
>             Project: HBase
>          Issue Type: Bug
>          Components: Compaction, Coprocessors, regionserver
>    Affects Versions: 0.95.0, 0.94.6
>            Reporter: Jesse Yates
>            Assignee: Jesse Yates
>             Fix For: 0.95.0, 0.94.6
>
>         Attachments: example.java, hbase-7725_0.94-v0.patch, hbase-7725_0.94-v3.patch, hbase-7725_0.94-v4.patch, hbase-7725-addenum.patch, hbase-7725-addenum-v1.patch, hbase-7725-v0.patch, hbase-7725-v1.patch, hbase-7725-v3.patch, hbase-7725-v4.patch, hbase-7725-v5.patch, hbase-7725-v6.patch, hbase-7725_with-attributes-0.94-v0.patch, hbase-7725_with-attributes-0.94-v1.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.
> *Update - Better description (3/20/13):* 
> Enable coprocessors to submit custom compaction requests. 
> This compaction request is used (if not null) through the entire compaction process. If no custom compaction request is submitted (its null - the normal case) then we we build a new compaction request via the usual mechanisms in the Store. 
> Adding this mechanism is particularly useful when 'special' compactions are desired and you want to do things like: only change certain files for a particularly requested compaction or follow a single compaction through the queue.

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