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:27:19 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 05e97b1a2 -> 4c258e9f3


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/4c258e9f
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/4c258e9f
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/4c258e9f

Branch: refs/heads/0.98
Commit: 4c258e9f35743b5180aaabe78b5b0d07766ed562
Parents: 05e97b1
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:26:45 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/4c258e9f/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 91efc79..0bc5e5c 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
@@ -123,10 +123,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