2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018

11/22/2013: How to Run Accumulo Continuous Testing (well ... some of them)

Accumulo comes with a lot of tests. This note is about the scripts in the test/system/continuous directory. The README is very descriptive so there is no need for me to discuss what the tests do. I'm just doing a show and tell. After creating an Accumulo cluster, you'll ssh to the master node to install Parallel SSH (pssh).
  1. Start an Accumulo cluster using https://github.com/medined/Accumulo_1_5_0_By_Vagrant
  2. vagrant ssh master
  3. cd ~/accumulo_home/software
  4. git clone http://code.google.com/p/parallel-ssh
  5. cd parallel-ssh
  6. sudo python setup.py install
Now you can run the continuous programs. I've created the editable files so you can just copy my versions (Step two below). The start_ingest.sh script starts ingest processes on the slave nodes which was not immediately obvious to me. Watch Watch http://affy-master:50095/ to see the ingest rate. When you've got enough entries, run the stop-ingest.sh.
  1. cd ~/accumulo_home/bin/accumulo/test/system/continuous
  2. cp /vagrant/files/config/accumulo/continuous/* .
  3. ./start-ingest.sh
  4. ./stop-ingest.sh
The figure below shows the ingest rate running two nodes on my MacBook Pro inside VirtualBox. My setup won't win any speed awards!


The next scripts we'll run are the walker scripts. They walk the entries produced by the ingest script. The output from the walker scripts are found on the slave nodes in the /home/vagrant/accumulo_home/bin/accumulo/test/system/continuous/logs directory. Watch http://affy-master:50095/ to see the scan rate.
  1. ./start-walkers.sh
  2. ./stop-walkers.sh
Below is an example of the scan rate 


And finally there is the verify script which took about 15 minutes to run on my setup. You can visit http://affy-master:50030/jobtracker.jsp to see the job running


  1. ./run-verify.sh


subscribe via RSS