Are you using the "-Dcassandra.replace_address=address_of_dead_node" flag to replace the removed node, according to http://www.datastax.com/documentation/cassandra/1.2/cassandra/operations/ops_replace_node_t.html ?
If yes and the new node has the same address as the replaced node, you might be hitting CASSANDRA-6622 ( https://issues.apache.org/jira/browse/CASSANDRA-6622), that was fixed only in 1.2.16. Cheers, On Wed, Jul 2, 2014 at 8:14 PM, Daning Wang <dan...@netseer.com> wrote: > We are running Cassandra 1.2.5 > > We have 8 nodes cluster, and we removed one machine from cluster and try > to add it back(the purpose is we are using vnodes, some node has more > tokens so by rejoining this machine we hope it could get some loads from > the busy machines). But we got following exception and the node cannot add > to the ring anymore. > > Please help, > > Thanks in advance, > > > INFO 16:01:56,260 JOINING: Starting to bootstrap... > ERROR 16:01:56,514 Exception encountered during startup > java.lang.IllegalStateException: unable to find sufficient sources for > streaming range > (131921530760098415548184818173535242096,132123583169200197961735373586277861750] > at > org.apache.cassandra.dht.RangeStreamer.getRangeFetchMap(RangeStreamer.java:205) > at > org.apache.cassandra.dht.RangeStreamer.addRanges(RangeStreamer.java:129) > at > org.apache.cassandra.dht.BootStrapper.bootstrap(BootStrapper.java:81) > at > org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:924) > at > org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:693) > at > org.apache.cassandra.service.StorageService.initServer(StorageService.java:548) > at > org.apache.cassandra.service.StorageService.initServer(StorageService.java:445) > at > org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:325) > at > org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:413) > at > org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:456) > java.lang.IllegalStateException: unable to find sufficient sources for > streaming range > (131921530760098415548184818173535242096,132123583169200197961735373586277861750] > at > org.apache.cassandra.dht.RangeStreamer.getRangeFetchMap(RangeStreamer.java:205) > at > org.apache.cassandra.dht.RangeStreamer.addRanges(RangeStreamer.java:129) > at > org.apache.cassandra.dht.BootStrapper.bootstrap(BootStrapper.java:81) > at > org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:924) > at > org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:693) > at > org.apache.cassandra.service.StorageService.initServer(StorageService.java:548) > at > org.apache.cassandra.service.StorageService.initServer(StorageService.java:445) > at > org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:325) > at > org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:413) > at > org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:456) > Exception encountered during startup: unable to find sufficient sources > for streaming range > (131921530760098415548184818173535242096,132123583169200197961735373586277861750] > ERROR 16:01:56,518 Exception in thread > Thread[StorageServiceShutdownHook,5,main] > java.lang.NullPointerException > at > org.apache.cassandra.service.StorageService.stopRPCServer(StorageService.java:321) > at > org.apache.cassandra.service.StorageService.shutdownClientServers(StorageService.java:362) > at > org.apache.cassandra.service.StorageService.access$000(StorageService.java:88) > at > org.apache.cassandra.service.StorageService$1.runMayThrow(StorageService.java:513) > > > Daning > -- *Paulo Motta* Chaordic | *Platform* *www.chaordic.com.br <http://www.chaordic.com.br/>* +55 48 3232.3200