RE: creating keyspace with 1.1

2012-05-06 Thread Pierre Chalamet
bur...@gmail.com] Sent: dimanche 6 mai 2012 12:22 To: user@cassandra.apache.org Subject: Re: creating keyspace with 1.1 and one more thing For migration 0.7.10 ->1.1 I had to remove rows_cached, keys_cached, and key_cache_save_period from CF declarations? What would it change for my app

Re: creating keyspace with 1.1

2012-05-06 Thread cyril auburtin
and one more thing For migration 0.7.10 ->1.1 I had to remove rows_cached, keys_cached, and key_cache_save_period from CF declarations? What would it change for my application create column family Application with column_type = 'Standard' and comparator = 'UTF8Type' and rows_cached = 100.0 and ke

Re: creating keyspace with 1.1

2012-05-06 Thread cyril auburtin
thx Other question (I'm moving from cassandra 0.7.10 to 1.1) the class org.apache.cassandra.thrift.Column.Column 's constructor arguments is now just name instead of (name, value, timestamp) So it should be called like this? new Column(myColumnName).setValue(myVal).setTimestamp(System.currentT

RE: creating keyspace with 1.1

2012-05-06 Thread Pierre Chalamet
Hi, I bet you are using cql commands in cassandra-cli. If you are using cli, use instead: create keyspace Excelsior with placement_strategy='SimpleStrategy' and strategy_options = [{replication_factor:1}] From: cyril auburtin [mailto:cyril.aubur...@gmail.com] Sent: Sunday, May 06,