Have you installed 'jna'? On RHEL (6 at least) it should be possible using
the default yum repos. You need the native code and the JAR in Cassandras
classpath from what I understand.

 

Dan

 

From: eczec...@gmail.com [mailto:eczec...@gmail.com] On Behalf Of Eric Czech
Sent: September-01-11 11:13
To: user@cassandra.apache.org
Subject: Re: Unable to link C library (for jna.jar) on 0.7.5

 

I got it here : https://nodeload.github.com/twall/jna/tarball/master

 

Is there some other version or distribution of jna that I should be using?
The version I have is 3.3.0.

 

On Thu, Sep 1, 2011 at 8:49 AM, Eric Evans <eev...@acunu.com> wrote:

On Wed, Aug 31, 2011 at 11:38 PM, Eric Czech <e...@nextbigsound.com> wrote:
> I'm running cassandra 0.7.5 on about 20 RHEL 5 (24 GB RAM) machines and
I'm
> having issues with snapshots, json sstable conversions, and various
nodetool
> commands due to memory errors and the lack of the native access C
libraries.
>  I tried putting jna.jar on the classpath but I'm still seeing warnings in
> the log files like "CLibrary.java (line 65) Unable to link C library.
Native
> methods will be disabled.".  Based on this warning, It looks like the .jar
> file is actually on the classpath but the native access libraries still
> aren't being used.

Where did you get this jar?  My guess is that the native code in that
jar isn't compatible with your system.

--
Eric Evans
Acunu | http://www.acunu.com | @acunu

 

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.901 / Virus Database: 271.1.1/3870 - Release Date: 09/01/11
02:34:00

Reply via email to