You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by jm...@apache.org on 2014/09/23 19:17:48 UTC

git commit: HBASE-12066 Avoid major compaction in TestMobSweeper

Repository: hbase
Updated Branches:
  refs/heads/hbase-11339 6769ea9e2 -> 836021df2


HBASE-12066 Avoid major compaction in TestMobSweeper


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/836021df
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/836021df
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/836021df

Branch: refs/heads/hbase-11339
Commit: 836021df2817a625eb7166ea194c5da26d6d6a47
Parents: 6769ea9
Author: Jonathan M Hsieh <jo...@cloudera.com>
Authored: Tue Sep 23 07:38:34 2014 -0700
Committer: Jonathan M Hsieh <jm...@apache.org>
Committed: Tue Sep 23 08:29:55 2014 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/mob/mapreduce/TestMobSweeper.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/836021df/hbase-server/src/test/java/org/apache/hadoop/hbase/mob/mapreduce/TestMobSweeper.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/mob/mapreduce/TestMobSweeper.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/mob/mapreduce/TestMobSweeper.java
index c43bceb..10bfa7a 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/mob/mapreduce/TestMobSweeper.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/mob/mapreduce/TestMobSweeper.java
@@ -64,7 +64,8 @@ public class TestMobSweeper {
   public static void setUpBeforeClass() throws Exception {
     TEST_UTIL.getConfiguration().setInt("hbase.master.info.port", 0);
     TEST_UTIL.getConfiguration().setBoolean("hbase.regionserver.info.port.auto", true);
-
+    TEST_UTIL.getConfiguration().setInt("hbase.hstore.compaction.min", 15); // avoid major compactions
+    TEST_UTIL.getConfiguration().setInt("hbase.hstore.compaction.max", 30); // avoid major compactions
     TEST_UTIL.getConfiguration().setInt("hfile.format.version", 3);
 
     TEST_UTIL.startMiniCluster();