HBASE-1069 Show whether HRegion major compacts or not in INFO level

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@728130 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2008-12-19 20:16:32 +00:00
parent ceab5a2722
commit cbf0b2d0c4
2 changed files with 3 additions and 1 deletions

View File

@ -179,6 +179,7 @@ Release 0.19.0 - Unreleased
HBASE-1065 Minor logging improvements in the master
HBASE-1053 bring recent rpc changes down from hadoop
HBASE-1056 [migration] enable blockcaching on .META. table
HBASE-1069 Show whether HRegion major compacts or not in INFO level
NEW FEATURES
HBASE-875 Use MurmurHash instead of JenkinsHash [in bloomfilters]

View File

@ -700,7 +700,8 @@ public class HRegion implements HConstants {
return midKey;
}
}
LOG.info("starting compaction on region " + this);
LOG.info("starting " (majorCompaction? : "major" : "") +
" compaction on region " + this);
long startTime = System.currentTimeMillis();
doRegionCompactionPrep();
long maxSize = -1;