cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: cassandra-1.0.0 schema-sample.txt problems
Date Tue, 25 Oct 2011 17:45:58 GMT
I've removed conf/sample-schema.txt from the source tree; something
like that is better maintained in the wiki.

On Mon, Oct 24, 2011 at 11:04 PM, Maki Watanabe <watanabe.maki@gmail.com> wrote:
> 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.
>
> --
> w3m
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message