What is happening, is that you are using CQL syntax to update a keyspace from within the (deprecated) cassandra-cli
tool. If you were using the cqlsh
tool, your command would work just fine. But with cassandra-cli
, that's not going to work. As Yasmeen indicated, the correct syntax that you will want to use is UPDATE KEYSPACE
:
UPDATE KEYSPACE system_auth with placement_strategy = 'NetworkTopologyStrategy'
and strategy_options = {'dc1' : 3, 'dc2' : 2};
I do recommend that you use cqlsh
in the future. The cassandra-cli
is deprecated, and will not receive any further updates.
Also, you should also see about upgrading your cluster to a more recent version of Cassandra. While you are missing out on several new features, there have been many bugs fixed since 1.1.6 (bugs that you are probably running into).