incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From murat migdisoglu <murat.migdiso...@gmail.com>
Subject Re: Cassandra 1.2.2 cluster + raspberry
Date Mon, 15 Apr 2013 23:34:31 GMT
Hi Aaron,

Thank you for your support. It was my mistake indeed. The second node was
still configured to have the internode comm to be compressed.

After I fixed it, I'm able to start my cluster.

Cheers



On Thu, Apr 11, 2013 at 12:40 PM, aaron morton <aaron@thelastpickle.com>wrote:

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


-- 
"Find a job you enjoy, and you'll never work a day in your life."
Confucius

Mime
View raw message