Allow script locations to be overridden
Work in progress patch that adds a Cassandra service. Based on zookeeper files. Note that this does not yet fully function.
Johan, I tried running this test and it passed, printing out: "TODO: check the instance is running...". Perhaps you had some stray instances or groups from a previous run, when you hit problems?
That must have been it, the test works for me now.
The patch adds a service for Cassandra, based on the Zookeeper one. It includes a unit test that starts a cluster and tests it by using Thrift to connect. It as been verified to work on Ubuntu using EC2.
Since Cassandra is not in any maven repo to my knowledge, the service requires the following jars to be copied to services/cassandra/lib from http://www.apache.org/dyn/closer.cgi?path=/cassandra/0.6.2/apache-cassandra-0.6.2-bin.tar.gz
Looks good. Thanks for writing this! Here are a few comments:
Updated to address the concerns mentioned.
The unit test and integration test should be split into separate classes. Otherwise +1
Separated the test into two classes.
I've just committed this.
BTW I just updated the svn:ignore setting for the new module using "svn propset svn:ignore -F .gitignore services/cassandra".