Hi, This DataStax documentation for 0.8 to create a new keyspace is incorrect. Would be nice to update this so it doesn't confuse a Cassandra newbie. The doc says to create a KS like so:
[default@unknown] create keyspace twissandra with replication_factor=1
and placement_strategy='org.apache.cassandra.locator.SimpleStrategy';
But actually, that command gives this error:
No enum const class org.apache.cassandra.cli.CliClient$AddKeyspaceArgument.REPLICATION_FACTOR
The actual syntax to create the keyspace should be:
create keyspace twissandra with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy' and strategy_options = [{replication_factor:1}];
Document to update:
http://www.datastax.com/docs/0.8/cli/using_cli
