Allow script locations to be overridden
BTW I just updated the svn:ignore setting for the new module using "svn propset svn:ignore -F .gitignore services/cassandra".
I've just committed this.
Separated the test into two classes.
The unit test and integration test should be split into separate classes. Otherwise +1
Updated to address the concerns mentioned.
Looks good. Thanks for writing this! Here are a few comments:
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
That must have been it, the test works for me now.
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?
Work in progress patch that adds a Cassandra service. Based on zookeeper files. Note that this does not yet fully function.