incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam_ <amin_shar...@yahoo.com>
Subject Starting the Cassandra server from Java (without command line)
Date Thu, 14 Apr 2011 17:59:48 GMT
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: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Starting-the-Cassandra-server-from-Java-without-command-line-tp6273826p6273826.html
Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.

Mime
View raw message