Repository: hbase Updated Branches: refs/heads/branch-1 ff5fa9501 -> cbae478b7
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/cbae478b Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/cbae478b Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/cbae478b Branch: refs/heads/branch-1 Commit: cbae478b79c9ccff749926279eb29536bae8f3a5 Parents: ff5fa95 Author: Enis Soztutar <[email protected]> Authored: Tue Sep 16 12:23:43 2014 -0700 Committer: Enis Soztutar <[email protected]> Committed: Tue Sep 16 12:24:14 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/cbae478b/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 6bab237..064d099 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(); } }
