Thanks Aaron.

Yes problem was occurring when starting 1 client as a embedded Cassandra Server. Memtables doesn’t flush if there is no data in associate CFs. Thrift does take care of this. Additionally on restarting Cassandra server it picked it up from commit logs as part of migration.

 

 

Cheers,

Vivek

 

From: aaron morton [mailto:aaron@thelastpickle.com]
Sent: Tuesday, July 05, 2011 6:09 AM
To: user@cassandra.apache.org
Subject: Re: flushing issue

 

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. 

 

Cheers 

-----------------

Aaron Morton

Freelance Cassandra Developer

@aaronmorton

 

On 4 Jul 2011, at 22:28, Vivek Mishra wrote:



Hi,

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.

 

 

 

Any help/Suggestion?

 

 



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.

 




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.