cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Skalet <>
Subject Bootstrapper assertion failure
Date Fri, 02 Jul 2010 08:23:44 GMT

I'm a new question asker here but I'll try to give you all the
information you need.
I'm trying to bootstrap a 3rd node into a two node cluster.  I am
specifying an InitialToken of 0 for the new node.  I have replication
factor set to 2, and am using the RackAwareStrategy with digg's
PropertyFileEndPointSnitch.  I'm using an /etc/hosts file to map ips
to short hostnames which the interface bindings and seeds in the
config files use.   Here is what the ring looks like before I attempt
to bootstrap the new node:

$ apache-cassandra-0.6.3/bin/nodetool -h localhost ring
Address       Status     Load          Range

138705532905298861485169149262903205000  Up         4.57 GB
85070591730234615865843651857942052864     |<--| Up         7.13 GB
138705532905298861485169149262903205000    |-->|

This is with cassandra 0.6.3 obviously.  The exception I get is:

	at org.apache.cassandra.dht.BootStrapper.getRangesWithSources(
	at org.apache.cassandra.dht.BootStrapper.startBootstrap(
	at org.apache.cassandra.service.StorageService.startBootstrap(
	at org.apache.cassandra.service.StorageService.initServer(
	at org.apache.cassandra.thrift.CassandraDaemon.setup(
	at org.apache.cassandra.thrift.CassandraDaemon.main(

I've posted the full debug log, minus the verbose row mutation messages, here:

I see in the code that the tokenMetadata_ is supposed to have a
non-zero number of tokens in it, which it looks like should be created
by updateNormalToken.  I have no idea why this isn't happening in my
case, however.

Thanks in advance for any ideas,

Andy Skalet

View raw message