incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Brosius <dbros...@mebigfatguy.com>
Subject Re: Create Keyspace failing in 1.2rc2 with syntax error?
Date Sat, 29 Dec 2012 22:29:49 GMT
the format has changed, check the help in cqlsh

CREATE KEYSPACE Test WITH replication = {'class':'SimpleStrategy', 
'replication_factor':1};

On 12/29/2012 04:27 PM, Adam Venturella 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