私はcassandra1.1.9でキースペースを作成しようとしていますが、「キースペースの作成を支援する」と同じ方法で教えてくれました。
Placement_strategy='org.apache.cassandra.locator.SimpleStrategy'およびstrategy_options=[{replication_factor:2}];を使用してKEYSPACEテストキースペースを作成します。
これを試してみても、キースペースtestkeyspace
を作成します。
キースペースtestkeyspaceをplacement_strategy='org.apache.cassandra.locator.SimpleStrategy'およびstrategy_options={replication_factor:3};で更新します。
私はいつもこのエラーを受け取りました:
java.lang.IllegalArgumentException:列挙型constクラスがありませんorg.apache.cassandra.cli.CliClient $ AddKeyspaceArgument.STRATEGY_OPT:ONS