cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcasandra <mohitanch...@gmail.com>
Subject Re: RandomPartitioner
Date Mon, 14 Feb 2011 21:57:23 GMT


Dan Kuebrich wrote:
> 
> You may find this part of the wiki helpful:
> http://wiki.apache.org/cassandra/Operations#Range_changes
> 
> "If you explicitly specify an InitialToken in the configuration, the new
> node will bootstrap to that position on the ring. Otherwise, it will pick
> a
> Token that will give it half the keys from the node with the most disk
> space
> used, that does not already have another node bootstrapping into its
> Range."
> 
> 
So if I am starting with only one node and I specify InitialToken as 0 then
what does it mean?



> It is circular, and token selection (after first node) is determined by
> key
> distribution.
> 
> 

Didn't quite understand this statement. What do you mean by key
distribution? I don't have any keyspace or CF at this point.


One more question, how can I remove or change token to 0 if I started with
IntitialToken as default (unset).
-- 
View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/RandomPartitioner-tp6025203p6025380.html
Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.

Mime
View raw message