Revert "HBASE-16562 ITBLL should fail to start if misconfigured" This reverts commit 38b946c2762d10f547de3e6c2b0676d3f7dfbd54.
See discussion on JIRA. Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a1536c28 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a1536c28 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a1536c28 Branch: refs/heads/branch-1 Commit: a1536c28763014153510f3f14a82587d32c14572 Parents: 65c2dd4 Author: Sean Busbey <[email protected]> Authored: Mon Oct 24 09:16:53 2016 -0500 Committer: Sean Busbey <[email protected]> Committed: Mon Oct 24 09:16:53 2016 -0500 ---------------------------------------------------------------------- .../hadoop/hbase/test/IntegrationTestBigLinkedList.java | 11 ----------- 1 file changed, 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/a1536c28/hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestBigLinkedList.java ---------------------------------------------------------------------- diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestBigLinkedList.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestBigLinkedList.java index 366fc02..2d828f4 100644 --- a/hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestBigLinkedList.java +++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestBigLinkedList.java @@ -678,17 +678,6 @@ public class IntegrationTestBigLinkedList extends IntegrationTestBase { Integer width = (args.length < 4) ? null : Integer.parseInt(args[3]); Integer wrapMultiplier = (args.length < 5) ? null : Integer.parseInt(args[4]); Integer numWalkers = (args.length < 6) ? null : Integer.parseInt(args[5]); - - long wrap = (long)width*wrapMultiplier; - if (wrap < numNodes && numNodes % wrap != 0) { - /** - * numNodes should be a multiple of width*wrapMultiplier. - * If numNodes less than wrap, wrap will be set to be equal with numNodes, - * See {@link GeneratorMapper#setup(Mapper.Context)} - * */ - System.err.println(USAGE); - return 1; - } return run(numMappers, numNodes, tmpOutput, width, wrapMultiplier, numWalkers); } catch (NumberFormatException e) { System.err.println("Parsing generator arguments failed: " + e.getMessage());
