tree: 8406d1d08874afd02179816a9220171fd0823fcf [path history] [tgz]
  1. .gitignore
  2. agitator.ini.example
  3. agitator.py
  4. hosts.example
  5. README.md
test/agitator/README.md

Agitator: randomly kill processes

The agitator is used to randomly select processes for termination during system test.

Configure the agitator using the example agitator.ini file provided.

Create a list of hosts to be agitated:

$ cp ../../../conf/tservers hosts
$ echo master >> hosts
$ echo namenode >> hosts

The agitator can be used to kill and restart any part of the accumulo ecosystem: zookeepers, namenode, datanodes, tablet servers and master. You can choose to agitate them all with “--all”

$ ./agitator.py --all --hosts=hosts --config=agitator.ini --log DEBUG

You will need to be able to ssh, without passwords, to all your hosts as the user that can kill and start the services.