cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremiah Jordan" <JEREMIAH.JOR...@morningstar.com>
Subject RE: How does Bootstrapping work in 0.7 ??
Date Thu, 20 Jan 2011 22:30:34 GMT
Is 0 really OK?  I remember some bugs coming up recently with a token of
0.  I was thinking about moving my 0 token servers to 1 because of that.

 

-Jeremiah Jordan

 

________________________________

From: Eric Gilmore [mailto:eric@riptano.com] 
Sent: Thursday, January 20, 2011 1:55 PM
To: user@cassandra.apache.org
Subject: Re: How does Bootstrapping work in 0.7 ??

 

Patrick, if you try adding capacity again from the beginning, I'd be
curious to hear if the DataStax/Riptano
<http://www.datastax.com/docs/0.7/operations/clustering#adding-capacity>
docs are helpful or not.

Also, in the Getting Started page
<http://www.datastax.com/docs/0.7/getting_started/index> , we note that
it may be best to set initial_token to 0 on the very first node that you
start.  

Regards,

Eric Gilmore

On Thu, Jan 20, 2011 at 11:05 AM, Peter Schuller
<peter.schuller@infidyne.com> wrote:

> Is it supposed to work that way, or have I missed something ?

I don't see that you did anything wrong based on your description and
based on my understanding how it works in 0.7 (not sure about 0.6),
but hopefully someone else can address that part. What I can think of
- did you inspect the log on the new node? Does it say anything about
bootstraping or streaming data from other nodes? Does 'nodetool ring'
indicate it considers itself completely up and in the cluster already?

Trying to determine whether the node is in fact considering it self
done bootstrapping and joined to the ring, yet containing no data.


> I tried then to put values for initialToken for both nodes (stopping
and
> restartings the servers), but it didn't change anything : I have the
same
> token values...

This is expected. Once the node has bootstrapped into the cluster and
saved its token, it will no longer try to acquire a new one. Any
initial token in the configuration is ignored; it is only the
*initial* token, quite literally. Changing the token would require a
'nodetool move' command.

--
/ Peter Schuller




-- 

Eric Gilmore

Consulting Technical Writer

Riptano, Inc.

Ph: 510 684 9786  (cell)

 


Mime
View raw message