Re: NetworkTopologyStrategy with 1 node

2012-05-26 Thread Cyril Auburtin
I update it in cassandra.topology.properties ? it has this for the 2 cassandra folders: 127.0.0.1=DC1:r1 127.0.0.2=DC1:r1 default=DC1:r1 2012/5/26 Pierre Chalamet > ** > Your datacenter is 'datacenter1' not 'DC1'. > - Pierre > -- > *From: * Cyril Auburtin > *Date:

Re: NetworkTopologyStrategy with 1 node

2012-05-26 Thread Pierre Chalamet
Your datacenter is 'datacenter1' not 'DC1'. - Pierre -Original Message- From: Cyril Auburtin Date: Sat, 26 May 2012 16:51:38 To: Reply-To: user@cassandra.apache.org Subject: Re: NetworkTopologyStrategy with 1 node Here is what happen with 2 cassandra nodes I use 127.0.0.1 and 127.0.0

Re: NetworkTopologyStrategy with 1 node

2012-05-26 Thread Cyril Auburtin
ring: Address DC RackStatus State Load Effective-Owership Token 127.0.0.1 datacenter1 rack1 Up Normal 23.76 KB0.00% 108009671136512928162101339008489993198 info: Token: 108009671136512928162101339008489993198 Gossip active

Re: NetworkTopologyStrategy with 1 node

2012-05-26 Thread Jeremiah Jordan
What is the output of nodetool ring? Does the cluster actually think your node is in DC1? -Jeremiah On May 26, 2012, at 6:36 AM, Cyril Auburtin wrote: I get the same issue on Cassandra 1.1: create keyspace ks with strategy_class = 'NetworkTopologyStrategy' AND strategy_options ={DC1:1}; the

Re: NetworkTopologyStrategy with 1 node

2012-05-26 Thread Cyril Auburtin
I get the same issue on Cassandra 1.1: create keyspace ks with strategy_class = 'NetworkTopologyStrategy' AND strategy_options ={DC1:1}; then for example [default@ks] create column family rr WITH key_validation_class=UTF8Type and comparator = UTF8Type and column_metadata = [{column_name: boo, va

Re: NetworkTopologyStrategy with 1 node

2012-05-26 Thread Cyril Auburtin
thx, but still not I did: update keyspace ks with strategy_options = [{DC1:1}] and placement_strategy = 'org.apache.cassandra.locator.NetworkTopologyStrategy'; then in cassandra-cli : [default@ks] list Position; Using default limit of 100 Internal error processing get_range_slices and in cassa

Re: cassandra read latency help

2012-05-26 Thread Gurpreet Singh
Hi Aaron, Here is the latest on this.. i switched to a node with 6 disks and running some read tests, and i am seeing something weird. setup: 1 node, cassandra 1.0.9, 8 cpu, 16 gig RAM, 6 7200 rpm SATA data disks striped 512 kb, commitlog mirrored. 1 keyspace with just 1 column family random parti