I had to reconfigure my Cassandra nodes today to allow us to use Lucandra and made the following changes:
* Shutdown ALL Cassandra instances
* For each node:
o Added in Lucandra Keyspace
o Changed the Partitioner to OrderPreservingPartitioner
o Deleted the folders in my Data File Directory
o Deleted the files in my Commit Log Directory
* Started each node individually
Now it seems that I'm getting bootstrap errors coalescing to each node
starting with the first node started (Error below)
I understand this is because they are not new nodes but I thought
deleting the data and commit log files would correct this - as there is
no data to get. Is there some other files to remove?
The system had been running with the RandomPartitioner without problem
for the last week.
INFO 16:56:47,322 Auto DiskAccessMode determined to be mmap
INFO 16:56:48,045 Saved Token not found. Using ADZAODw5LiJt6juc
INFO 16:56:48,045 Saved ClusterName not found. Using MAMBO Space
INFO 16:56:48,053 Creating new commitlog segment
/var/cassandra/log/CommitLog-1277189808053.log
INFO 16:56:48,096 Starting up server gossip
INFO 16:56:48,119 Joining: getting load information
INFO 16:56:48,119 Sleeping 90000 ms to wait for load information...
INFO 16:56:48,165 Node /172.28.1.138 is now part of the cluster
INFO 16:56:48,170 Node /172.28.1.139 is now part of the cluster
INFO 16:56:48,171 Node /172.28.2.136 is now part of the cluster
INFO 16:56:48,172 Node /172.28.1.141 is now part of the cluster
INFO 16:56:49,136 InetAddress /172.28.1.141 is now UP
INFO 16:56:49,145 InetAddress /172.28.2.136 is now UP
INFO 16:56:49,146 InetAddress /172.28.1.138 is now UP
INFO 16:56:49,147 InetAddress /172.28.1.139 is now UP
INFO 16:57:06,772 Node /172.28.2.138 is now part of the cluster
INFO 16:57:07,538 InetAddress /172.28.2.138 is now UP
INFO 16:57:12,179 InetAddress /172.28.1.138 is now dead.
INFO 16:57:19,195 error writing to /172.28.1.138
INFO 16:57:24,205 error writing to /172.28.1.139
INFO 16:57:26,209 InetAddress /172.28.1.139 is now dead.
INFO 16:57:43,242 error writing to **********************/172.28.1.141
INFO 16:57:50,254 InetAddress /172.28.1.141 is now dead.
INFO 16:57:59,271 error writing to /172.28.2.136
INFO 16:58:05,280 InetAddress /172.28.2.136 is now dead.
INFO 16:58:18,136 Joining: getting bootstrap token
ERROR 16:58:18,139 Exception encountered during startup.
java.lang.RuntimeException: No other nodes seen! Unable to bootstrap
at
org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper.ja
va:120)
at
org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.java
:102)
at
org.apache.cassandra.dht.BootStrapper.getBootstrapToken(BootStrapper.jav
a:97)
at
org.apache.cassandra.service.StorageService.initServer(StorageService.ja
va:356)
at
org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:9
9)
at
org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:17
7)
Exception encountered during startup.
java.lang.RuntimeException: No other nodes seen! Unable to bootstrap
at
org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper.ja
va:120)
at
org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.java
:102)
at
org.apache.cassandra.dht.BootStrapper.getBootstrapToken(BootStrapper.jav
a:97)
at
org.apache.cassandra.service.StorageService.initServer(StorageService.ja
va:356)
at
org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:9
9)
at
org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:17
7)
Anthony Ikeda
Java Analyst/Programmer
Cardlink Services Limited
Level 4, 3 Rider Boulevard
Rhodes NSW 2138
Web: www.cardlink.com.au | Tel: + 61 2 9646 9221 | Fax: + 61 2 9646 9283
**********************************************************************
This e-mail message and any attachments are intended only for the use of the
addressee(s) named above and may contain information that is privileged and
confidential. If you are not the intended recipient, any display,
dissemination, distribution, or copying is strictly prohibited. If you
believe you have received this e-mail message in error, please immediately
notify the sender by replying to this e-mail message or by telephone to (02)
9646 9222. Please delete the email and any attachments and do not retain the
email or any attachments in any form.
**********************************************************************<<image001.gif>>
