Nevermind...

help CREATE_KEYSPACE; works wonders..

CREATE KEYSPACE <ksname>
                WITH replication = {'class':'SimpleStrategy',
'replication_factor':3};

=)




On Sat, Dec 29, 2012 at 1:27 PM, Adam Venturella <aventure...@gmail.com>wrote:

> When I create a keyspace with a SimpleStrategy as outlined here:
> https://cassandra.apache.org/doc/cql3/CQL.html#createKeyspaceStmt
>
>
> CREATE KEYSPACE Test
>            WITH strategy_class = SimpleStrategy
>             AND strategy_options:replication_factor = 1;
>
>
> I receive the following error:
>
> Bad Request: line 3:20 mismatched input ':' expecting '='
>
>
> I'm running the following cqlsh:
>
>
> Connected to Test Cluster at localhost:9160.
>
> [cqlsh 2.3.0 | Cassandra 1.2.0~rc2 | CQL spec 3.0.0 | Thrift protocol 19.35.0]
>
>
>
>

Reply via email to