HBASE-834 Removed redundant logging
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690424 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
99f695beda
commit
776b740aa4
|
@ -778,10 +778,6 @@ public class HStore implements HConstants {
|
||||||
if (!majorCompaction) {
|
if (!majorCompaction) {
|
||||||
Path mapdir = HStoreFile.getMapDir(basedir, info.getEncodedName(), family.getName());
|
Path mapdir = HStoreFile.getMapDir(basedir, info.getEncodedName(), family.getName());
|
||||||
long lowTimestamp = getLowestTimestamp(fs, mapdir);
|
long lowTimestamp = getLowestTimestamp(fs, mapdir);
|
||||||
if (LOG.isDebugEnabled() && lowTimestamp > 0l) {
|
|
||||||
LOG.debug("Time since last major compaction on store " + this.storeNameStr +
|
|
||||||
": " + ((System.currentTimeMillis() - lowTimestamp)/1000) + " seconds");
|
|
||||||
}
|
|
||||||
lastMajorCompaction = System.currentTimeMillis() - lowTimestamp;
|
lastMajorCompaction = System.currentTimeMillis() - lowTimestamp;
|
||||||
if (lowTimestamp < (System.currentTimeMillis() - majorCompactionTime) &&
|
if (lowTimestamp < (System.currentTimeMillis() - majorCompactionTime) &&
|
||||||
lowTimestamp > 0l) {
|
lowTimestamp > 0l) {
|
||||||
|
|
Loading…
Reference in New Issue