hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duo Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-18989) Polish the compaction related CP hooks
Date Mon, 23 Oct 2017 09:23:00 GMT

     [ https://issues.apache.org/jira/browse/HBASE-18989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Duo Zhang updated HBASE-18989:
------------------------------
    Release Note: 
Add two new methods in CompactionLifeCycleTracker.
The notExecuted method will be called if the selectCompaction failed or space quota limitation
reached.
The completed method will be called after all the requested compactions are finished. The
compaction scheduling is pre Store so if you request compaction on a region it may lead to
multiple compactions.
Remove the User parameter in Region.requestCompaction methods as it is useless for CP users.
Add a boolean parameter to indicate whether you want to do a major compaction. And so that
the triggerMajorCompaction method is removed.
Remove the getCompactionProgress method in Store interface.
Add a UT to confirm that CompactionLifeCycleTracker works correctly, and it also shows how
to use CompactionLifeCycleTracker to wait for the completion of a compaction.

  was:
Add two new methods in CompactionLifeCycleTracker.
The notExecuted method will be called if the selectCompaction failed or space quota limitation
reached.
The completed method will be called after all the requested compactions are finished. The
compaction scheduling is pre Store so if you request compaction on a region it may lead to
multiple compactions.
Remove the User parameter in Region.requestCompaction methods as it is useless for CP users.
Add a boolean parameter to indicate whether you want to do a major compaction. And so that
the triggerMajorCompaction method is removed.
Add a UT to confirm that CompactionLifeCycleTracker works correctly, and it also shows how
to use CompactionLifeCycleTracker to wait for the completion of a compaction.


> Polish the compaction related CP hooks
> --------------------------------------
>
>                 Key: HBASE-18989
>                 URL: https://issues.apache.org/jira/browse/HBASE-18989
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Compaction, Coprocessors
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>             Fix For: 3.0.0, 2.0.0-alpha-4
>
>         Attachments: HBASE-18989-v1.patch, HBASE-18989-v2.patch, HBASE-18989.patch, HBASE-18989.patch,
HBASE-18989.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message