How to add a new Keyspace?

2010-07-08 Thread ChingShen
Hi all, If I want to add a new Keyspace, does it mean I have to distribute my storage-conf.xml to whole nodes? and restart whole nodes? Shen

Re: How to add a new Keyspace?

2010-07-08 Thread Peter Schuller
  If I want to add a new Keyspace, does it mean I have to distribute my storage-conf.xml to whole nodes? and restart whole nodes? I *think* that is the case in Cassandra 0.6, but I'll let someone else comment. In trunk/upcoming 7 there are live schema upgrades that propagate through the

Re: How to add a new Keyspace?

2010-07-08 Thread Dave Viner
Here are my notes on how to make schema changes in 0.6: # Empty the commitlog with nodetool drain. = NOTE while this is running, the node will not accept writes. # Shutdown Cassandra and verify that there is no remaining data in the commitlog. = HOW to verify? # Delete the sstable files