Thanks. That worked.

On Tue, Jul 5, 2011 at 11:35 AM, Jonathan Ellis <jbel...@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 <s5a...@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
>

Reply via email to