t; *From: * Cyril Auburtin
> *Date: *Sat, 26 May 2012 16:51:38 +0200
> *To: *
> *ReplyTo: * 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.2 which is pin
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
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
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
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
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
replication_factor = 1 and strategy_options = [{DC1:0}]
You should not be setting both of these.
All you should need is:
strategy_options = [{DC1:1}]
On Fri, May 25, 2012 at 1:47 PM, Cyril Auburtin
wrote:
> I was using a single node, on cassandra 0.7.10
>
> with Network strategy = SimpleStrateg