error creating keyspace in cqlsh

2014-06-18 Thread Tim Dunphy
hey all, I know that something pretty basic must be wrong here. But what is the mistake I'm making in creating this keyspace? cqlsh create keyspace animals with replication = { 'class': 'NetworkTopologyStrategy', 'replication_factor' : 3}; Bad Request: Error constructing replication strategy

Re: error creating keyspace in cqlsh

2014-06-18 Thread Marcelo Elias Del Valle
Is replication_factor your DC name? Here is what I would using: CREATE KEYSPACE IF NOT EXISTS animals WITH REPLICATION = { 'class' : 'NetworkTopologyStrategy', 'DC1' : 3 }; But in my case, I am using GossipPropertyFileSnitch and DC1 is configured there, so Cassandra knows which nodes are in

Re: error creating keyspace in cqlsh

2014-06-18 Thread Tim Dunphy
Hey that helped! Just to quell your curiosity here's my snitch: endpoint_snitch: SimpleSnitch thanks! On Wed, Jun 18, 2014 at 11:03 PM, Marcelo Elias Del Valle marc...@s1mbi0se.com.br wrote: Is replication_factor your DC name? Here is what I would using: CREATE KEYSPACE IF NOT EXISTS