If you're only interested in accessing data natively, I suggest you
try the fat client. It brings up a node that participates in
gossip, exposes the StorageProxy API, but does not receive a token and
so does not have storage responsibilities.
StorageService.instance.initClient();
in 0.7 you
Just for the people looking to run Cassandra embedded and access
directly (not via Thrift/Avro).
This works:
StorageService.instance.initServer();
And then just use the StorageProxy for data access.
I have no idea if this is the right way, but is works.
Kind regards,
Ruben
On Fri, Aug 27,
Hi,
I am new to cassandra, so maybe I am missing something obvious...
Version: Latest nightly build (2010-08-23_13-57-40), but same results
with 0.7.0b1
Server code (default configuration file):
System.setProperty(cassandra.config, conf/cassandra.yaml);
EmbeddedCassandraService
did you try connecting to a real cassandra instance, not an embedded one?
I use an embedded one for testing and it works, but just to narrow down your
problem.
On Fri, Aug 27, 2010 at 6:13 PM, Ruben de Laat ru...@logic-labs.nl wrote:
Hi,
I am new to cassandra, so maybe I am missing something
Thank you Ran, that's working! Should have tried that as well.
There is a difference in the log's, embedded shows:
INFO 20:16:31,796 Binding thrift service to localhost/127.0.0.1:9160
Batch-file-started one:
INFO thrift.CassandraDaemon: Listening for thrift clients...
So maybe different classes