cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From A J <s5a...@gmail.com>
Subject Re: cql error
Date Tue, 05 Jul 2011 15:41:46 GMT
Thanks. That worked.


On Tue, Jul 5, 2011 at 11:35 AM, Jonathan Ellis <jbellis@gmail.com> wrote:
> 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