Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
CentOS 6.0
Linux cassandra2.local 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
Cassandra 0.8.4 from the official tarball, also reproducible on the datastax 0.8.4-1 rpm.CentOS 6.0 Linux cassandra2.local 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux java version "1.7.0" Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode) Cassandra 0.8.4 from the official tarball, also reproducible on the datastax 0.8.4-1 rpm.
-
Low
Description
Log explaining the problem. Trouble happens at the "and replication_factor = 1" string
[default@unknown] connect cassandra2/9160;
Connected to: "Lab1" on cassandra2/9160
- Create a keyspace with a pretty simple definition
[default@unknown] create keyspace foo
... with placement_strategy = 'SimpleStrategy'
... and strategy_options = [ {replication_factor : 1}];
f9e13340-d58f-11e0-0000-e3f60146f2df
Waiting for schema agreement...
... schemas agree across the cluster
[default@unknown] use foo;
Authenticated to keyspace: foo
- Copy the schema so we can paste it later
[default@foo] show schema;
create keyspace foo
and replication_factor = 1
with placement_strategy = 'SimpleStrategy'
and strategy_options = [ {replication_factor : 1}];
use foo;
- Remove the keyspace, so we can paste the exact same text above
[default@foo] drop keyspace foo;
07c93a70-d590-11e0-0000-e3f60146f2df
Waiting for schema agreement...
... schemas agree across the cluster
- Paste the schema shown above as result of the 'show schema' command
[default@unknown] create keyspace foo
... and replication_factor = 1
... with placement_strategy = 'SimpleStrategy'
... and strategy_options = [ {replication_factor : 1}];
No enum constant org.apache.cassandra.cli.CliClient.AddKeyspaceArgument.REPLICATION_FACTOR - Presented an error that should not occur if show schema generated valid text