incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maki Watanabe <watanabe.m...@gmail.com>
Subject schema-sample.txt issues in Cassandra-1.0.0
Date Tue, 25 Oct 2011 05:46:03 GMT
Hello,  I'm writing CassandraCli wiki page draft (sorry to late,
aaron), and found 2 problems in schema-sample.txt shipped with 1.0.0
release.
cassandra-cli prints following warning and error on loading the schema.

WARNING: [{}] strategy_options syntax is deprecated, please use {}
a0f41dc0-feba-11e0-0000-915a0242929f
Waiting for schema agreement...
... schemas agree across the cluster
Authenticated to keyspace: Keyspace1
Line 3 => No enum const class
org.apache.cassandra.cli.CliClient$ColumnFamilyArgument.MEMTABLE_FLUSH_AFTER

In the schema it uses deprecated syntax on storage_options:
   strategy_options=[{replication_factor:1}]
which should be:
   strategy_options={replication_factor:1}

And it also uses obsolete column family argument
"memtable_flush_after" which prevents schema loading.

Those should be fixed in next release.

-- 
maki

Mime
View raw message