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 Wed, 18 Oct 2017 09:03:00 GMT

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

Duo Zhang updated HBASE-18989:
------------------------------
    Attachment: HBASE-18989.patch

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.

> 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: 2.0.0-alpha-4
>
>         Attachments: HBASE-18989.patch
>
>




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

Mime
View raw message