Re: Starting the Cassandra server from Java (without command line)

2011-04-16 Thread sam_
@Jason Thanks, I found the Pelops EmbeddedCassandraServer implementation and am giving it a try. -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Starting-the-Cassandra-server-from-Java-without-command-line-tp6273826p6278564.html Sent from the cas

Re: Starting the Cassandra server from Java (without command line)

2011-04-16 Thread sam_
@Naren Thanks for the reply. I noticed that EmbeddedCassandraService is now part of the Cassandra distribution. The source code is changed compared to what Ran had posted at http://prettyprint.me/2010/02/14/running-cassandra-as-an-embedded-service/ I tried to use EmbeddedCassandraService with thi

Duplicate result of get_indexed_slices, depending on indexClause.count

2011-04-14 Thread sam_
Hi All, I have been using Cassandra 0.7.2 and 0.7.4 with Thrift API (using Java). I noticed that if I am querying a Column Family with indexed columns sometimes I get a duplicate result in get_indexed_slices depending on the number of rows in the CF and the count that I set in IndexClause.count.

Starting the Cassandra server from Java (without command line)

2011-04-14 Thread sam_
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 ab