Try this:

create keyspace testkeyspace;
update keyspace testkeyspace with placement_strategy =
'org.apache.cassandra.locator.SimpleStrategy' and strategy_options =
{replication_factor:3};

Good luck!

2012/1/6 Sajith Kariyawasam <saj...@gmail.com>

> Hi all,
>
> I tried creating a keyspace with the replication factor 3, using cli
> interface ... in Cassandra 1.0.6  (earlier tried in 0.8.2 and failed too)
>
> But I'm getting an exception
>
> "java.lang.IllegalArgumentException: No enum const class
> org.apache.cassandra.cli.CliClient$AddKeyspaceArgument.REPLICATION_FACTOR"
>
> The command I used was
>
> [default@unknown] create keyspace testkeyspace with replication_factor=3;
>
> What has gone wrong  ?
>
> Many thanks in advance
> --
> Best Regards
> Sajith
>
>

Reply via email to