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/start-all.sh. Otherwise, the masters will 
not restart
and the test will eventually get stuck. The randomwalk README.md now has 
information about
that.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/ef12e59e
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/ef12e59e
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/ef12e59e

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

----------------------------------------------------------------------
 .../accumulo/test/randomwalk/concurrent/Shutdown.java  |  5 +++--
 test/system/randomwalk/README.md                       | 13 +++++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/ef12e59e/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/Shutdown.java
----------------------------------------------------------------------
diff --git 
a/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/Shutdown.java
 
b/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/Shutdown.java
index 657a604..0217fb4 100644
--- 
a/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/Shutdown.java
+++ 
b/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/Shutdown.java
@@ -34,7 +34,7 @@ public class Shutdown extends Test {
   
   @Override
   public void visit(State state, Properties props) throws Exception {
-    log.debug("shutting down");
+    log.info("shutting down");
     SetGoalState.main(new String[] {MasterGoalState.CLEAN_STOP.name()});
     
     while 
(!state.getConnector().instanceOperations().getTabletServers().isEmpty()) {
@@ -53,7 +53,8 @@ public class Shutdown extends Test {
       UtilWaitThread.sleep(1000);
     }
     
-    log.debug("tablet servers stopped");
+    log.info("servers stopped");
+    UtilWaitThread.sleep(10000);
   }
   
 }

http://git-wip-us.apache.org/repos/asf/accumulo/blob/ef12e59e/test/system/randomwalk/README.md
----------------------------------------------------------------------
diff --git a/test/system/randomwalk/README.md b/test/system/randomwalk/README.md
index 495c032..786a160 100644
--- a/test/system/randomwalk/README.md
+++ b/test/system/randomwalk/README.md
@@ -58,6 +58,19 @@ the following command:
 
 > `$ ./bin/kill-all.sh`
 
+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/start-all.sh`. 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/start-all.sh` 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
 ---------------------
 

Reply via email to