mikewalch closed pull request #14: Minor bug fixes URL: https://github.com/apache/accumulo-testing/pull/14
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/README.md b/README.md index 0d2b538..8826cc3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Apache Accumulo Testing Suite +[![Build Status][ti]][tl] The Apache Accumulo testing suite contains applications that test and verify the correctness of Accumulo. @@ -136,3 +137,5 @@ Run the command below stop the agitator: [modules]: core/src/main/resources/randomwalk/modules [image]: core/src/main/resources/randomwalk/modules/Image.xml +[ti]: https://travis-ci.org/apache/accumulo-testing.svg?branch=master +[tl]: https://travis-ci.org/apache/accumulo-testing diff --git a/conf/accumulo-testing.properties.example b/conf/accumulo-testing.properties.example index ce868be..7468443 100644 --- a/conf/accumulo-testing.properties.example +++ b/conf/accumulo-testing.properties.example @@ -36,7 +36,7 @@ test.common.accumulo.scanner.batch.size=1000 # Accumulo keytab #test.common.accumulo.keytab= # HDFS root path. Should match 'fs.defaultFS' property in Hadoop's core-site.xml -test.common.hdfs.root=hdfs://localhost:10000 +test.common.hdfs.root=hdfs://localhost:8020 # YARN resource manager hostname. Should match 'yarn.resourcemanager.hostname' property in Hadoop's yarn-site.xml test.common.yarn.resource.manager=localhost # Memory (in MB) given to each container (if running in YARN) diff --git a/core/src/main/java/org/apache/accumulo/testing/core/randomwalk/concurrent/Config.java b/core/src/main/java/org/apache/accumulo/testing/core/randomwalk/concurrent/Config.java index 3c3e737..b7d65a1 100644 --- a/core/src/main/java/org/apache/accumulo/testing/core/randomwalk/concurrent/Config.java +++ b/core/src/main/java/org/apache/accumulo/testing/core/randomwalk/concurrent/Config.java @@ -88,7 +88,6 @@ static Setting s(Property property, long min, long max) { s(Property.MASTER_FATE_THREADPOOL_SIZE, 1, 100), s(Property.MASTER_RECOVERY_DELAY, 0, 100), s(Property.MASTER_LEASE_RECOVERY_WAITING_PERIOD, 0, 10), - s(Property.MASTER_RECOVERY_MAXTIME, 10, 1000), s(Property.MASTER_THREADCHECK, 100, 10000), s(Property.MASTER_MINTHREADS, 1, 200),}; diff --git a/core/src/main/java/org/apache/accumulo/testing/core/randomwalk/sequential/MapRedVerify.java b/core/src/main/java/org/apache/accumulo/testing/core/randomwalk/sequential/MapRedVerify.java index 95b7d32..924b8d9 100644 --- a/core/src/main/java/org/apache/accumulo/testing/core/randomwalk/sequential/MapRedVerify.java +++ b/core/src/main/java/org/apache/accumulo/testing/core/randomwalk/sequential/MapRedVerify.java @@ -52,7 +52,7 @@ public void visit(State state, RandWalkEnv env, Properties props) throws Excepti return; } - Scanner outputScanner = env.getAccumuloConnector().createScanner(args[7], Authorizations.EMPTY); + Scanner outputScanner = env.getAccumuloConnector().createScanner(args[5], Authorizations.EMPTY); outputScanner.setRange(new Range()); int count = 0; diff --git a/core/src/test/java/org/apache/accumulo/testing/core/randomwalk/ReplicationRandomWalkIT.java b/core/src/test/java/org/apache/accumulo/testing/core/randomwalk/ReplicationRandomWalkIT.java index 2dc6acd..e0b547c 100644 --- a/core/src/test/java/org/apache/accumulo/testing/core/randomwalk/ReplicationRandomWalkIT.java +++ b/core/src/test/java/org/apache/accumulo/testing/core/randomwalk/ReplicationRandomWalkIT.java @@ -16,7 +16,6 @@ */ package org.apache.accumulo.testing.core.randomwalk; -import static org.apache.accumulo.core.conf.Property.TSERV_ARCHIVE_WALOGS; import static org.apache.accumulo.core.conf.Property.TSERV_NATIVEMAP_ENABLED; import static org.apache.accumulo.core.conf.Property.TSERV_WALOG_MAX_SIZE; @@ -35,7 +34,6 @@ @Override protected void configure(MiniAccumuloConfigImpl cfg, Configuration hadoopCoreSite) { - cfg.setProperty(TSERV_ARCHIVE_WALOGS, "false"); cfg.setProperty(TSERV_WALOG_MAX_SIZE, "1M"); cfg.setProperty(TSERV_NATIVEMAP_ENABLED, "false"); cfg.setNumTservers(1); ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
