Just to clarify things: I'm trying to get my first cluster up and running and it's not working.
I have Cassandra working on one machine just fine, with all my data, but when I put Cassandra on a 2nd machine, and point it to my first machine, nothing happens. There seems to be some communication between the two machines, because when I stop Cassandra on the 1st machine, the 2nd machine tells me that the connection is lost. On Mon, May 31, 2010 at 9:09 AM, David Boxenhorn <da...@lookin2.com> wrote: > We have a VPN with PC’s running Windows XP SP3. > > I want to define a Cassandra cluster on two PC’s in the VPN: 192.168.80.234 > and 192.168.80.12. > > I can ping from 192.168.80.12 to 192.168.80..234 and vice-versa. > > I download and install Cassandra 0.6.2 > > Why doesn’t the cluster cluster? > > I configure 192.168.80.12 to be the seed, as follows: > > > > *<Storage>* > > * <ClusterName>Lookin2</ClusterName>* > > * <AutoBootstrap>false</AutoBootstrap>* > > * <Seeds>* > > * <Seed>192.168.80.12</Seed>* > > * </Seeds>* > > * <ListenAddress>192.168.80.12</ListenAddress>* > > * <!-- internal communications port -->* > > * <StoragePort>7000</StoragePort>* > > * <ControlPort>7001</ControlPort>* > > * <ThriftAddress>192.168.80.12</ThriftAddress>* > > * <!-- Thrift RPC port (the port clients connect to). -->* > > * <ThriftPort>9160</ThriftPort> * > > * <ThriftFramedTransport>false</ThriftFramedTransport>* > > *</Storage>* > > > > > > I configure 192.168.80.234 to be a non-seed node, as follows: > > *<Storage>* > > * <ClusterName>Lookin2</ClusterName>* > > * <AutoBootstrap>true</AutoBootstrap>* > > * <Seeds>* > > * <Seed>192.168.80.12</Seed>* > > * </Seeds>* > > * <ListenAddress>192.168.80.234</ListenAddress>* > > * <!-- internal communications port -->* > > * <StoragePort>7000</StoragePort>* > > * <ControlPort>7001</ControlPort>* > > * <ThriftAddress>192.168.80.234</ThriftAddress>* > > * <!-- Thrift RPC port (the port clients connect to). -->* > > * <ThriftPort>9160</ThriftPort> * > > * <ThriftFramedTransport>false</ThriftFramedTransport>* > > *</Storage>* > > > > (All other values in the two storage-conf.xml files are default values from > the 0.6.2 installation.) > > > > > > I start up Cassandra on 192.168.80.12, then start up Cassandra on > 192.168.80.234. > > > > On 192.168.80.234, I see the following in the DOS console: > > > > > > *C:\apache-cassandra-0.6.2\bin>cassandra -f* > > *Starting Cassandra Server* > > *Listening for transport dt_socket at address: 8888* > > * INFO 19:01:49,687 Auto DiskAccessMode determined to be standard* > > * INFO 19:01:49,984 Replaying > \var\lib\cassandra\commitlog\CommitLog-127523519217* > > *1.log* > > * INFO 19:01:50,031 Creating new commitlog segment > /var/lib/cassandra/commitlog\C* > > *ommitLog-1275235310031.log* > > * INFO 19:01:50,093 LocationInfo has reached its threshold; switching in a > fresh* > > *Memtable at > CommitLogContext(file='/var/lib/cassandra/commitlog\CommitLog-127523* > > *5310031.log', position=173)* > > * INFO 19:01:50,093 Enqueuing flush of Memtable(LocationInfo)@700852* > > * INFO 19:01:50,093 Writing Memtable(LocationInfo)@700852* > > * INFO 19:01:50,296 Completed flushing > C:\var\lib\cassandra\data\system\LocationI* > > *nfo-1-Data.db* > > * INFO 19:01:50,328 Log replay complete* > > * INFO 19:01:50,375 Saved Token found: > 51560289722671854279455339870443755117* > > * INFO 19:01:50,375 Saved ClusterName found: Lookin2* > > * INFO 19:01:50,390 Starting up server gossip* > > * INFO 19:01:50,421 Joining: getting load information* > > * INFO 19:01:50,421 Sleeping 90000 ms to wait for load information...* > > * INFO 19:03:20,421 Joining: getting bootstrap token* > > *ERROR 19:03:20,421 Exception encountered during startup.* > > *java.lang.RuntimeException: No other nodes seen! Unable to bootstrap* > > * at > org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper* > > *.java:120)* > > * at > org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.j* > > *ava:102)* > > * at > org.apache.cassandra.dht.BootStrapper.getBootstrapToken(BootStrapper.* > > *java:97)* > > * at > org.apache.cassandra.service.StorageService.initServer(StorageService* > > *.java:356)* > > * at > org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.jav* > > *a:99)* > > * at > org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java* > > *:177)* > > *Exception encountered during startup.* > > *java.lang.RuntimeException: No other nodes seen! Unable to bootstrap* > > * at > org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper* > > *.java:120)* > > * at > org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.j* > > *ava:102)* > > * at > org.apache.cassandra.dht.BootStrapper.getBootstrapToken(BootStrapper.* > > *java:97)* > > * at > org.apache.cassandra.service.StorageService.initServer(StorageService* > > *.java:356)* > > * at > org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.jav* > > *a:99)* > > * at > org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java* > > *:177)* > > * * > > *C:\apache-cassandra-0.6.2\bin>* > > > > > > > > > > In system.log, I see the following: > > > > *INFO [main] 2010-05-30 19:01:49,687 DatabaseDescriptor.java (line 232) > Auto DiskAccessMode determined to be standard* > > * INFO [main] 2010-05-30 19:01:49,984 CommitLog.java (line 172) Replaying > \var\lib\cassandra\commitlog\CommitLog-1275235192171.log* > > * INFO [main] 2010-05-30 19:01:50,031 CommitLogSegment.java (line 50) > Creating new commitlog segment > /var/lib/cassandra/commitlog\CommitLog-1275235310031.log* > > * INFO [main] 2010-05-30 19:01:50,093 ColumnFamilyStore.java (line 357) > LocationInfo has reached its threshold; switching in a fresh Memtable at > CommitLogContext(file='/var/lib/cassandra/commitlog\CommitLog-1275235310031.log', > position=173)* > > * INFO [main] 2010-05-30 19:01:50,093 ColumnFamilyStore.java (line 609) > Enqueuing flush of Memtable(LocationInfo)@700852* > > * INFO [FLUSH-WRITER-POOL:1] 2010-05-30 19:01:50,093 Memtable.java (line > 148) Writing Memtable(LocationInfo)@700852* > > * INFO [FLUSH-WRITER-POOL:1] 2010-05-30 19:01:50,296 Memtable.java (line > 162) Completed flushing > C:\var\lib\cassandra\data\system\LocationInfo-1-Data.db* > > * INFO [main] 2010-05-30 19:01:50,328 CommitLog.java (line 175) Log replay > complete* > > * INFO [main] 2010-05-30 19:01:50,375 SystemTable.java (line 164) Saved > Token found: 51560289722671854279455339870443755117* > > * INFO [main] 2010-05-30 19:01:50,375 SystemTable.java (line 179) Saved > ClusterName found: Lookin2* > > * INFO [main] 2010-05-30 19:01:50,390 StorageService.java (line 326) > Starting up server gossip* > > * INFO [main] 2010-05-30 19:01:50,421 StorageService.java (line 387) > Joining: getting load information* > > * INFO [main] 2010-05-30 19:01:50,421 StorageLoadBalancer.java (line 365) > Sleeping 90000 ms to wait for load information...* > > * INFO [main] 2010-05-30 19:03:20,421 StorageService.java (line 387) > Joining: getting bootstrap token* > > *ERROR [main] 2010-05-30 19:03:20,421 CassandraDaemon.java (line 195) > Exception encountered during startup.* > > *java.lang.RuntimeException: No other nodes seen! Unable to bootstrap* > > * at > org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper.java:120) > * > > * at > org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.java:102) > * > > * at > org.apache.cassandra.dht.BootStrapper.getBootstrapToken(BootStrapper.java:97) > * > > * at > org.apache.cassandra.service.StorageService.initServer(StorageService.java:356) > * > > * at > org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:99) > * > > * at > org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177) > * > > * * > > Why doesn’t the cluster cluster? > >