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 5B6509B55 for ; Tue, 3 Apr 2012 07:29:13 +0000 (UTC) Received: (qmail 28995 invoked by uid 500); 3 Apr 2012 07:29:11 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 28732 invoked by uid 500); 3 Apr 2012 07:29:08 -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 28697 invoked by uid 99); 3 Apr 2012 07:29:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2012 07:29:07 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [85.17.130.6] (HELO mailhq.ocom.com) (85.17.130.6) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2012 07:29:02 +0000 Received: from [10.0.28.18] (10.0.28.18) by soco-ex01.ocom.lan (10.0.3.6) with Microsoft SMTP Server (TLS) id 8.3.245.1; Tue, 3 Apr 2012 09:28:39 +0200 Message-ID: <4F7AA6A7.3040508@ocom.com> Date: Tue, 3 Apr 2012 09:28:39 +0200 From: Carlos Juzarte Rolo User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0 MIME-Version: 1.0 To: Subject: Re: Error Replicate on write References: <4F797B4A.9060603@ocom.com> <559ECBBA-5F44-4A4C-A0BD-E8DD9ECCF5EC@thelastpickle.com> In-Reply-To: <559ECBBA-5F44-4A4C-A0BD-E8DD9ECCF5EC@thelastpickle.com> Content-Type: multipart/alternative; boundary="------------040903030905030904040208" X-Virus-Checked: Checked by ClamAV on apache.org --------------040903030905030904040208 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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 > http://www.thelastpickle.com > > 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.java: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(ColumnFamilyStore.java:1194) >> at >> org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1151) >> at org.apache.cassandra.db.Table.getRow(Table.java:375) >> at >> org.apache.cassandra.db.SliceByNamesReadCommand.getRow(SliceByNamesReadCommand.java:58) >> at >> org.apache.cassandra.db.CounterMutation.makeReplicationMutation(CounterMutation.java:99) >> at >> org.apache.cassandra.service.StorageProxy$7$1.runMayThrow(StorageProxy.java:544) >> at >> org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.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, > --------------040903030905030904040208 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit 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.java: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(ColumnFamilyStore.java:1194)
       at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1151)
       at org.apache.cassandra.db.Table.getRow(Table.java:375)
       at org.apache.cassandra.db.SliceByNamesReadCommand.getRow(SliceByNamesReadCommand.java:58)
       at org.apache.cassandra.db.CounterMutation.makeReplicationMutation(CounterMutation.java:99)
       at org.apache.cassandra.service.StorageProxy$7$1.runMayThrow(StorageProxy.java:544)
       at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.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,


--------------040903030905030904040208--