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

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/branches/0.18@728138 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2008-12-19 20:31:42 +00:00
parent d7540b9af4
commit 3a2c6f5e90
2 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,7 @@ Release 0.18.2 - Unreleased
IMPROVEMENTS
HBASE-1046 Narrow getClosestRowBefore by passing column family (backport)
HBASE-1069 Show whether HRegion major compacts or not in INFO level
Release 0.18.1 - Released October 27, 2008

View File

@ -895,7 +895,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;