accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject git commit: ACCUMULO-2621 Add delay to Shutdown step of continuous randomwalk, update README
Date Tue, 15 Apr 2014 18:42:25 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.6.0-SNAPSHOT 344fe21e0 -> ef12e59ec

ACCUMULO-2621 Add delay to Shutdown step of continuous randomwalk, update README

The Concurrent.xml randomwalk module can shut down and restart the Accumulo cluster during
the test. This commit adds a 10 second delay after shutdown, to give the master plenty of
time to exit before the test attempts to start it up again.

Also, it is essential that the walker(s) running the test have passwordless SSH access to
the cluster to run $ACCUMULO_HOME/bin/ Otherwise, the masters will not restart
and the test will eventually get stuck. The randomwalk now has information about


Branch: refs/heads/1.6.0-SNAPSHOT
Commit: ef12e59ecf918299574eef94deb62464fb3f54bd
Parents: 344fe21
Author: Bill Havanki <>
Authored: Tue Apr 8 09:38:44 2014 -0400
Committer: Christopher Tubbs <>
Committed: Tue Apr 15 14:42:05 2014 -0400

 .../accumulo/test/randomwalk/concurrent/  |  5 +++--
 test/system/randomwalk/                       | 13 +++++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/
index 657a604..0217fb4 100644
--- a/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/
+++ b/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/
@@ -34,7 +34,7 @@ public class Shutdown extends Test {
   public void visit(State state, Properties props) throws Exception {
-    log.debug("shutting down");
+"shutting down");
     SetGoalState.main(new String[] {});
     while (!state.getConnector().instanceOperations().getTabletServers().isEmpty()) {
@@ -53,7 +53,8 @@ public class Shutdown extends Test {
-    log.debug("tablet servers stopped");
+"servers stopped");
+    UtilWaitThread.sleep(10000);
diff --git a/test/system/randomwalk/ b/test/system/randomwalk/
index 495c032..786a160 100644
--- a/test/system/randomwalk/
+++ b/test/system/randomwalk/
@@ -58,6 +58,19 @@ the following command:
 > `$ ./bin/`
+Module-Specific Configuration
+The user accounts for walkers that run the Concurrent.xml module must have
+password-less SSH access to the entire Accumulo cluster, so that they may run
+`$ACCUMULO_HOME/bin/`. Note that this is not the same script as the
+one that starts random walkers; it is the script to start up an Accumulo
+cluster. You can test that access is in place by running
+`$ACCUMULO_HOME/bin/` from the command line of each walker account.
+The above access is also needed for any modules that include Concurrent.xml,
+e.g., ShortClean.xml, LongClean.xml.
 Other Useful Commands

View raw message