cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Pell <>
Subject Re: Starting the Cassandra server from Java (without command line)
Date Thu, 14 Apr 2011 20:47:44 GMT
You can make use of embedded Cassandra server. Both Hector and Pelops have classes that you
can use in your own unit tests, the Pelops one is quite good.

Sent from my iPhone

On Apr 15, 2011, at 3:59, sam_ <> wrote:

> Hello there,
> To start the Cassandra server we can use the following command in command
> prompt:
> cassandra -f
> I am wondering if it is possible to directly start the server inside a Java
> program using thrift API or a lower level class inside Cassandra
> implementation.
> The purpose of this is to be able to run JUnit tests that need to start
> Cassandra server in SetUp(), without the need to create a process and run
> "cassandra" from command line.
> Thanks,
> Sam 
> --
> View this message in context:
> Sent from the mailing list archive at

View raw message