Index: core/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java =================================================================== --- core/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java (revision 945232) +++ core/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java (working copy) @@ -831,7 +831,8 @@ private boolean isMajorCompaction(final List filesToCompact) throws IOException { boolean result = false; - if (filesToCompact == null || filesToCompact.isEmpty()) { + if (filesToCompact == null || filesToCompact.isEmpty() || + majorCompactionTime == 0) { return result; } long lowTimestamp = getLowestTimestamp(fs, Index: core/src/main/resources/hbase-default.xml =================================================================== --- core/src/main/resources/hbase-default.xml (revision 945232) +++ core/src/main/resources/hbase-default.xml (working copy) @@ -394,6 +394,7 @@ 86400000 The time (in miliseconds) between 'major' compactions of all HStoreFiles in a region. Default: 1 day. + Set to 0 to disable automated major compactions.