Re: Network Topology Strategy error

2011-03-03 Thread Jonathan Ellis
Sounds like your nodes are not evenly spaced around the ring in each dc. On Thu, Mar 3, 2011 at 4:09 PM, A J wrote: > Thanks. > It worked when I changed as you suggested to: create keyspace ks1 with > strategy_options = [{DC1:1, DC2:1}] and > placement_strategy='org.apache.cassandra.locator.Netwo

Re: Network Topology Strategy error

2011-03-03 Thread A J
Thanks. It worked when I changed as you suggested to: create keyspace ks1 with strategy_options = [{DC1:1, DC2:1}] and placement_strategy='org.apache.cassandra.locator.NetworkTopologyStrategy'; Something that I am observing: The replicas are always put in the first node on the other DC. (So if the

Re: Network Topology Strategy error

2011-03-03 Thread Jonathan Ellis
you need to specify per-DC replicas w/ NTS in strategy_options, instead of using replication_factor On Thu, Mar 3, 2011 at 1:52 PM, A J wrote: > using latest cassandra (0.7.2). I want to try out Network Topology Strategy. > > Following is related setting in cassandra.yaml > endpoint_snitch: org.a

Network Topology Strategy error

2011-03-03 Thread A J
using latest cassandra (0.7.2). I want to try out Network Topology Strategy. Following is related setting in cassandra.yaml endpoint_snitch: org.apache.cassandra.locator.PropertyFileSnitch I have four nodes. Set them accordingly in ./conf/cassandra-topology.properties: 10.252.219.224=DC2:RAC1 10.