incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: cql error
Date Tue, 05 Jul 2011 15:35:51 GMT
replace the s_o line with

and strategy_options:DC1=1 and strategy_options:DC2=2

On Tue, Jul 5, 2011 at 10:09 AM, A J <s5alye@gmail.com> wrote:
> cqlsh> CREATE KEYSPACE twissandra with
>   ...   strategy_class =
>   ...     'org.apache.cassandra.locator.NetworkTopologyStrategy'
>   ...   and strategy_options=[{DC1:1,  DC2:1}];
> Bad Request: line 4:37 no viable alternative at character ']'
>
>
> What is wrong with the above syntax ?
>
> Thanks.
>



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

Mime
View raw message