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: Error Replicate on write
Date Tue, 03 Apr 2012 22:12:50 GMT
What is logged when it cannot find JNA ? 

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


Mime
View raw message