Hi,
I'm trying to set up a cassandra cluster for some experiments on my
raspberry pies but I'm still having trouble to join my nodes to the cluster.
I started with two nodes (192.168.2.3 and 192.168.2.7) and when I start the
cassandra, I see the following exception on the node 192.168.2.7
ERROR [WRITE-/192.168.2.3] 2013-04-10 02:10:24,524 CassandraDaemon.java
(line 132) Exception in thread Thread[WRITE-/192.168.2.3,5,main]
java.lang.NoClassDefFoundError: Could not initialize class
org.xerial.snappy.Snappy
at
org.xerial.snappy.SnappyOutputStream.<init>(SnappyOutputStream.java:79)
at
org.xerial.snappy.SnappyOutputStream.<init>(SnappyOutputStream.java:66)
at
org.apache.cassandra.net.OutboundTcpConnection.connect(OutboundTcpConnection.java:322)
at
org.apache.cassandra.net.OutboundTcpConnection.run(OutboundTcpConnection.java:143)
I suspect that the lack of native snappy libraries are causing this
exception furing the internode communication.
I did not try to compile the native Snappy for ARM yet but I wonder if it
is not possible to use cassandra without snappy.
I've already tried to set internode_compression: none in my yaml files.
nodetool outputs:
nodetool -h pi1 ring
Datacenter: dc1
==========
Replicas: 1
Address Rack Status State Load
Owns Token
192.168.2.7 RAC1 Up Normal 92.35 KB
100.00% 0
nodetool -h pi2 ring
Datacenter: dc1
==========
Replicas: 1
Address Rack Status State Load
Owns Token
192.168.2.3 RAC1 Up Normal 92.42 KB
100.00% 85070591730234615865843651857942052864
Kind Regards