From user-return-25311-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Tue Apr 3 22:13:26 2012 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2F4B59B1D for ; Tue, 3 Apr 2012 22:13:26 +0000 (UTC) Received: (qmail 43217 invoked by uid 500); 3 Apr 2012 22:13:24 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 43192 invoked by uid 500); 3 Apr 2012 22:13:24 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 43182 invoked by uid 99); 3 Apr 2012 22:13:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2012 22:13:23 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a42.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2012 22:13:15 +0000 Received: from homiemail-a42.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a42.g.dreamhost.com (Postfix) with ESMTP id 239E268C070 for ; Tue, 3 Apr 2012 15:12:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; q=dns; s=thelastpickle.com; b=rzGl+IziCW 0+b6AS/fW6cKhWKioQCHR6hhc11KoCzhGO2PQ4OAIgBSMx4AJLvcvG2rt7G5euCx W1a1u65fZQeEYt7zUjGhJIXdCwnaEe+NVplESO552b7/Z74m5D8ba+LWiEDH4svj jX/RDphzp73wWxxw1q9c/t6V3UnedPVQE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; s=thelastpickle.com; bh=q5zpyBmczID7SVx6 VguLAEJhzyc=; b=2TUBsbxw6zvb+qrbgB0sYLjzGpkiT9KAdPBAE8Em+gogPxHS ymTyb8LGrlr7xdFDRKhvjDP+hyAq8IjGlZehM7hD7czrr+pDFyKvEVWX6bkxnw5v C445gpo/qH7o0hU7ln2V3e2J1l/Uk96W2AgSlTKOKA25knekDPT/cxBrfKM= Received: from [192.168.125.161] (unknown [125.236.54.190]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a42.g.dreamhost.com (Postfix) with ESMTPSA id 67C8C68C06C for ; Tue, 3 Apr 2012 15:12:52 -0700 (PDT) From: aaron morton Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: multipart/alternative; boundary="Apple-Mail=_CB71ED69-532E-4114-ADC3-5A2FB8775228" Subject: Re: Error Replicate on write Date: Wed, 4 Apr 2012 10:12:50 +1200 In-Reply-To: <4F7AA6A7.3040508@ocom.com> To: user@cassandra.apache.org References: <4F797B4A.9060603@ocom.com> <559ECBBA-5F44-4A4C-A0BD-E8DD9ECCF5EC@thelastpickle.com> <4F7AA6A7.3040508@ocom.com> Message-Id: X-Mailer: Apple Mail (2.1257) --Apple-Mail=_CB71ED69-532E-4114-ADC3-5A2FB8775228 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 What is logged when it cannot find JNA ?=20 What is passed to the java service ? Check with ps aux | grep cassandra Cheers ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 3/04/2012, at 7:28 PM, Carlos Juzarte Rolo wrote: > It is, but it doesn't load it. > I tried the default package manager version (3.2), the 3.3 and the 3.4 = version and this node always say that was unable to load the JNA. I put = the jna.jar inside /.../cassandra/lib/ where the other .jar files are. >=20 > I have other nodes with the same config (without JNA) and they don't = trigger this error. >=20 > On 04/02/2012 11:26 PM, aaron morton wrote: >>=20 >> Is JNA.jar in the path ? >>=20 >> Cheers >> =20 >> ----------------- >> Aaron Morton >> Freelance Developer >> @aaronmorton >> http://www.thelastpickle.com >>=20 >> On 2/04/2012, at 10:11 PM, Carlos Juzarte Rolo wrote: >>=20 >>> Hi, >>>=20 >>> I've been using cassandra for a while, but after a upgrade to 1.0.7, = every machine kept running perfectly. Well, except one that constantly = throws this error: >>>=20 >>> ERROR [ReplicateOnWriteStage:39] 2012-04-02 12:02:55,131 = AbstractCassandraDaemon.java (line 139) Fatal exception in thread = Thread[ReplicateOnWriteStage:39,5,main] >>> java.lang.NoClassDefFoundError: Could not initialize class = org.apache.cassandra.cache.FreeableMemory >>> at = org.apache.cassandra.cache.SerializingCache.serialize(SerializingCache.jav= a:92) >>> at = org.apache.cassandra.cache.SerializingCache.put(SerializingCache.java:154)= >>> at = org.apache.cassandra.cache.InstrumentingCache.put(InstrumentingCache.java:= 63) >>> at = org.apache.cassandra.db.ColumnFamilyStore.cacheRow(ColumnFamilyStore.java:= 1170) >>> at = org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStor= e.java:1194) >>> at = org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStor= e.java:1151) >>> at org.apache.cassandra.db.Table.getRow(Table.java:375) >>> at = org.apache.cassandra.db.SliceByNamesReadCommand.getRow(SliceByNamesReadCom= mand.java:58) >>> at = org.apache.cassandra.db.CounterMutation.makeReplicationMutation(CounterMut= ation.java:99) >>> at = org.apache.cassandra.service.StorageProxy$7$1.runMayThrow(StorageProxy.jav= a:544) >>> at = org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StoragePro= xy.java:1223) >>> at = java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.= java:886) >>> at = java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java= :908) >>> at java.lang.Thread.run(Thread.java:662) >>>=20 >>> The machine does run, but nodetool doesn't connect to the machine = for example. >>>=20 >>> Any ideia from what could be trigerring this? >>>=20 >>> Thanks, >>=20 >=20 --Apple-Mail=_CB71ED69-532E-4114-ADC3-5A2FB8775228 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 What = is logged when it cannot find JNA ? 

What is = passed to the java service ? Check with ps aux | grep = cassandra


Cheers

http://www.thelastpickle.com

On 3/04/2012, at 7:28 PM, Carlos Juzarte Rolo = wrote:

=20 =20
It is, but it doesn't load it.
I tried the default package manager version (3.2), the 3.3 and the 3.4 version and this node always say that was unable to load the JNA. I put the jna.jar inside /.../cassandra/lib/ where the other .jar files are.

I have other nodes with the same config (without JNA) and they don't trigger this error.

On 04/02/2012 11:26 PM, aaron morton wrote:
Is JNA.jar in the path ?

Cheers
 
-----------------
Aaron Morton
Freelance Developer
@aaronmorton

On 2/04/2012, at 10:11 PM, Carlos Juzarte Rolo = wrote:

Hi,

I've been using cassandra for a while, but after a upgrade to 1.0.7, every machine kept running perfectly. Well, except one that constantly throws this error:

ERROR [ReplicateOnWriteStage:39] 2012-04-02 12:02:55,131 AbstractCassandraDaemon.java (line 139) Fatal exception in thread Thread[ReplicateOnWriteStage:39,5,main]
java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.cache.FreeableMemory
       at = org.apache.cassandra.cache.SerializingCache.serialize(SerializingCache.jav= a:92)
       at = org.apache.cassandra.cache.SerializingCache.put(SerializingCache.java:154)=
       at = org.apache.cassandra.cache.InstrumentingCache.put(InstrumentingCache.java:= 63)
       at = org.apache.cassandra.db.ColumnFamilyStore.cacheRow(ColumnFamilyStore.java:= 1170)
       at = org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStor= e.java:1194)
       at = org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStor= e.java:1151)
       at org.apache.cassandra.db.Table.getRow(Table.java:375)
       at = org.apache.cassandra.db.SliceByNamesReadCommand.getRow(SliceByNamesReadCom= mand.java:58)
       at = org.apache.cassandra.db.CounterMutation.makeReplicationMutation(CounterMut= ation.java:99)
       at = org.apache.cassandra.service.StorageProxy$7$1.runMayThrow(StorageProxy.jav= a:544)
       at = org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StoragePro= xy.java:1223)
       at = java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.= java:886)
       at = java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java= :908)
       at = java.lang.Thread.run(Thread.java:662)

The machine does run, but nodetool doesn't connect to the machine for example.

Any ideia from what could be trigerring this?

Thanks,



= --Apple-Mail=_CB71ED69-532E-4114-ADC3-5A2FB8775228--