Hi, I want to embed Apache Cassandra in my Java program, how can I run it programmatically?
http://prettyprint.me/prettyprint.me/2010/02/14/running-cassandra-as-an-embedded-service/index.html wrote a good blog on how to embed cassander for unittests
Now we do this in our utils test module (which also has no dependency on hector-core)
https://github.com/rantav/hector/tree/master/test/src/main/java/me/prettyprint/hector/testutils
As stated in the comments, there is no clean shutdown state. You can just kill.