cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Narendra Sharma <narendra.sha...@gmail.com>
Subject Re: Starting the Cassandra server from Java (without command line)
Date Thu, 14 Apr 2011 18:20:33 GMT
The write up is a year old but still will give you fair idea of how to do.

http://prettyprint.me/2010/02/14/running-cassandra-as-an-embedded-service/

<http://prettyprint.me/2010/02/14/running-cassandra-as-an-embedded-service/>
Thanks,
Naren

On Thu, Apr 14, 2011 at 10:59 AM, sam_ <amin_sharifi@yahoo.com> 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:
> 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.
>



-- 
Narendra Sharma
Solution Architect
*http://www.persistentsys.com*
*http://narendrasharma.blogspot.com/*

Mime
View raw message