incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: Cassandra 1.2.2 cluster + raspberry
Date Thu, 11 Apr 2013 10:40:31 GMT
> I've already tried to set internode_compression: none in my yaml files. 

What version are you on?

If you've set internode_compression to none and restarted? Can you double check.
The code stack shows cassandra deciding that the connection should be compressed. 

Cheers

-----------------
Aaron Morton
Freelance Cassandra Consultant
New Zealand

@aaronmorton
http://www.thelastpickle.com

On 10/04/2013, at 12:54 PM, murat migdisoglu <murat.migdisoglu@gmail.com> wrote:

> 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
> 
> 
> 


Mime
View raw message