hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject git commit: HBASE-11989 IntegrationTestLoadAndVerify cannot be configured anymore on distributed mode
Date Tue, 16 Sep 2014 19:23:33 GMT
Repository: hbase
Updated Branches:
  refs/heads/master cad76a343 -> f249f242b


HBASE-11989 IntegrationTestLoadAndVerify cannot be configured anymore on distributed mode


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

Branch: refs/heads/master
Commit: f249f242becc9dd23b49fc200405e3e32ffe1518
Parents: cad76a3
Author: Enis Soztutar <enis@apache.org>
Authored: Tue Sep 16 12:23:43 2014 -0700
Committer: Enis Soztutar <enis@apache.org>
Committed: Tue Sep 16 12:23:43 2014 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hbase/test/IntegrationTestLoadAndVerify.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/f249f242/hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestLoadAndVerify.java
----------------------------------------------------------------------
diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestLoadAndVerify.java
b/hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestLoadAndVerify.java
index 08a8146..44f9e4a 100644
--- a/hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestLoadAndVerify.java
+++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestLoadAndVerify.java
@@ -125,10 +125,10 @@ public class IntegrationTestLoadAndVerify  extends IntegrationTestBase
 {
     util = getTestingUtil(getConf());
     util.initializeCluster(3);
     this.setConf(util.getConfiguration());
-    getConf().setLong(NUM_TO_WRITE_KEY, NUM_TO_WRITE_DEFAULT / 100);
-    getConf().setInt(NUM_MAP_TASKS_KEY, NUM_MAP_TASKS_DEFAULT / 100);
-    getConf().setInt(NUM_REDUCE_TASKS_KEY, NUM_REDUCE_TASKS_DEFAULT / 10);
     if (!util.isDistributedCluster()) {
+      getConf().setLong(NUM_TO_WRITE_KEY, NUM_TO_WRITE_DEFAULT / 100);
+      getConf().setInt(NUM_MAP_TASKS_KEY, NUM_MAP_TASKS_DEFAULT / 100);
+      getConf().setInt(NUM_REDUCE_TASKS_KEY, NUM_REDUCE_TASKS_DEFAULT / 10);
       util.startMiniMapReduceCluster();
     }
   }


Mime
View raw message