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.