incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Venturella <aventure...@gmail.com>
Subject Re: Create Keyspace failing in 1.2rc2 with syntax error?
Date Sat, 29 Dec 2012 21:47:21 GMT
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 <aventurella@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]
>
>
>
>

Mime
View raw message