When you say using CassandraServer do you mean an embedded cassandra server ? What process did you use to add the Keyspaces ? Adding a KS via the thrift API should take care of everything.
The simple test is stop the server and the clients, start the server again and see if the KS is defined by using nodetool cfstats.
Freelance Cassandra Developer
On 4 Jul 2011, at 22:28, Vivek Mishra wrote:
I know, I might be missing something here.
I am currently facing 1 issue.
I have 2 cassandra clients(1. Using CassandraServer 2. Using Cassandra.Client) running connecting to same host.
I have created Keyspace K1, K2 using client1(e.g. CassandraServer), but somehow those keyspaces are not available with Client2(e.g. Cassandra.Client).
I have also tried by flusing StorageService.instance.ForceFlush to tables. But that also didn’t work.
Register for Impetus Webinar on ‘Leveraging the Cloud for your Product Testing Needs’ on June 22 (10:00am PT). Meet Impetus as a sponsor for Hadoop Summit 2011 in Santa Clara, CA on June 29.
Click http://www.impetus.com to know more. Follow us on www.twitter.com/impetuscalling
NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.