hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liu Junhong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12712) skipLargeFiles in minor compact but not in major compact
Date Fri, 19 Dec 2014 05:47:13 GMT

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

Liu Junhong commented on HBASE-12712:

The value of forceMajor will be only setted to true when trigger major compaction manually.
In my case we need trigger major compaction by CompactionChecker. The master branch can solve
this case. Thank you, i'll close this issue.

> skipLargeFiles in minor compact but not in major compact
> --------------------------------------------------------
>                 Key: HBASE-12712
>                 URL: https://issues.apache.org/jira/browse/HBASE-12712
>             Project: HBase
>          Issue Type: New Feature
>          Components: Compaction
>    Affects Versions: 0.98.6
>            Reporter: Liu Junhong
>              Labels: newbie, patch
>             Fix For: 0.98.6
>         Attachments: compact.diff
>   Original Estimate: 72h
>  Remaining Estimate: 72h
> Here is my case. After repeatedly minor compaction, the size of storefile is very large.
Compaction with large storefile will waste much bandwidth, so i use the “hbase.hstore.compaction.max.size”
to skip this case. But after use this config, i find that major compaction will be skipped
forever when i read the source code and the deletes and muti-versions data my waste storage.
So i had to modify the code. 
> Now i'm try to submit my patch.But my patch is not perfect. I think there should be an
other config to determine if the large size storefile should join major compaction in HColumnDescriptor.

This message was sent by Atlassian JIRA

View raw message