hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8283) Backport HBASE-7842 Add compaction policy that explores more storefile groups to 0.94
Date Wed, 15 May 2013 17:41:16 GMT

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

Jean-Daniel Cryans commented on HBASE-8283:
-------------------------------------------

I know [~eclark] doesn't like my idea but it would be easy to have both policies:

{noformat}
if (defaultCompactionPolicy)
  current code
else
  Elliott's patch
{noformat}

I did that when testing a previous version of the patch on 0.94 to be able to switch from
one to another easily. I like it because it's not as involved as backporting pluggable policies
and it's less risky then just committing the current patch that replaces the policy. The downside
is that it's hacky, it makes the code less readable, and if we ever want more policies in
0.94 then we'll have to backport the pluggable policies code anyway.
                
> Backport HBASE-7842 Add compaction policy that explores more storefile groups to 0.94
> -------------------------------------------------------------------------------------
>
>                 Key: HBASE-8283
>                 URL: https://issues.apache.org/jira/browse/HBASE-8283
>             Project: HBase
>          Issue Type: Task
>          Components: Compaction
>    Affects Versions: 0.94.0
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>         Attachments: HBASE-8283-0.patch, HBASE-8283-1.patch
>
>
> HBASE-7842 Add compaction policy that explores more storefile groups
> Added a new compaction policy that greatly improves selecting files if there are bulk
loaded files.

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

Mime
View raw message