hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billy Pearson (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-812) Compaction needs little better skip algo
Date Tue, 12 Aug 2008 02:06:44 GMT

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

Billy Pearson updated HBASE-812:

    Status: Patch Available  (was: Open)

I made a new patch to add a new line on the debug logging its kind of hard to catch those
3 words on the end of the line and know whats going on and fixed a space missed on the old
log line you edited. 
Fill free to change the text but I would like to see a new line saying we skipped the compaction
of only 1 file.

but patch works great does just what was needed!


> Compaction needs little better skip algo
> ----------------------------------------
>                 Key: HBASE-812
>                 URL: https://issues.apache.org/jira/browse/HBASE-812
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.2.0, 0.3.0
>            Reporter: Billy Pearson
>            Priority: Critical
>             Fix For: 0.2.1, 0.3.0
>         Attachments: 812.patch.txt, 812v2.patch
> Looking at this section of one of my compaction's we have 3 files to compact the new
algo is working great in my test but I see this below often we are skipping 2 out of the 3
files and compacting 1 file. 1 file is kind of a wast might as well just copy the file my
suggestion is if there is only 1 file left after the new algo skips then just go on to the
next column and skip the last file also. This will help improve compaction times a little
> {code}
> 2008-08-10 10:00:45,310 DEBUG org.apache.hadoop.hbase.regionserver.HStore: Compaction
size of 1339600874/size: 4.6m, skipped 2, 4851776
> 2008-08-10 10:00:45,438 DEBUG org.apache.hadoop.hbase.regionserver.HStore: started compaction
of 1 files into /hbase/webdata/compaction.dir/1339600874/size/mapfiles/8653208152776334891
> 2008-08-10 10:00:46,838 DEBUG org.apache.hadoop.hbase.regionserver.HStore: moving /hbase/webdata/compaction.dir/1339600874/size/mapfiles/8653208152776334891
to /hbase/webdata/1339600874/size/mapfiles/7539342470259528578
> 2008-08-10 10:00:47,166 DEBUG org.apache.hadoop.hbase.regionserver.HStore: Completed
compaction of 1339600874/size store size is 4.6m
> {code}

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message