Re: Unable to link C library (for jna.jar) on 0.7.5

2011-09-04 Thread Eric Czech
Thank you guys. I installed jna using yum and then put jna.jar on the classpath and everything seems fine. On Thu, Sep 1, 2011 at 9:51 AM, Eric Evans wrote: > On Thu, Sep 1, 2011 at 10:13 AM, Eric Czech wrote: > > I got it here : https://nodeload.github.com/twall/jna/tarball/mast

Re: Unable to link C library (for jna.jar) on 0.7.5

2011-09-01 Thread Eric Evans
On Thu, Sep 1, 2011 at 10:13 AM, Eric Czech wrote: > 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. As Dan mentions in another email, if you can install it from an RP

RE: Unable to link C library (for jna.jar) on 0.7.5

2011-09-01 Thread Dan Hendry
r-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

Re: Unable to link C library (for jna.jar) on 0.7.5

2011-09-01 Thread Eric Czech
gt; > 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 tri

Re: Unable to link C library (for jna.jar) on 0.7.5

2011-09-01 Thread Eric Evans
s 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 c

Unable to link C library (for jna.jar) on 0.7.5

2011-08-31 Thread Eric Czech
Hi everybody, 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 classpa

Re: JNA.jar

2011-02-14 Thread Aaron Morton
Ouch, that redesign is a bit nasty. jna.jar in this folder is the same as the one I last got 3.2.7http://java.net/projects/jna/sources/svn/show/trunk/jnalib/dist?rev=1182AaronOn 15 Feb, 2011,at 09:48 AM, mcasandra wrote: In Cassandra documentation it recommends downloading jna.jar. However I am

JNA.jar

2011-02-14 Thread mcasandra
In Cassandra documentation it recommends downloading jna.jar. However I am unable to see any jar files on the mentioned website http://java.net/projects/jna/ http://java.net/projects/jna/ Do I need to download the source instead and then compile it? -- View this message in context: http

Re: using jna.jar "Unknown mlockall error 0"

2010-10-28 Thread Peter Schuller
> In this case should one set ulimit -l to the amount of heap size? Yes, or under the assumption that you're running Cassandra dedicated and are not worried about enforcement- just set it to unlimited or just very high to avoid having to change it if you change the heap size in the future. -- /

Re: using jna.jar "Unknown mlockall error 0"

2010-10-28 Thread Arya Goudarzi
In this case should one set ulimit -l to the amount of heap size? Thanks, -Arya Goudarzi - Original Message - From: "Peter Schuller" To: user@cassandra.apache.org Sent: Saturday, October 9, 2010 1:18:28 AM Subject: Re: using jna.jar "Unknown mlockall error 0" >

Re: using jna.jar "Unknown mlockall error 0"

2010-10-09 Thread Peter Schuller
> IIRC, mlockall doesn't work as a non root user on Linux. Memory locking is permitted for non-root on modern Linux, but is subject to resource limitations (ulimit -l). I believe this also applies to mlockall() (and not just mlock()), provided that you lock MCL_CURRENT rather than MCL_FUTURE (Cass

Re: using jna.jar "Unknown mlockall error 0"

2010-10-08 Thread Robert Coli
On 10/8/10 10:13 AM, Clint Byrum wrote: IIRC, mlockall doesn't work as a non root user on Linux. We had a discussion a while back about using the jvm's support for Huge Pages to get around that limitation a while back, but I don't recall where that went. Do you mean.. https://issues.apache.

Re: using jna.jar "Unknown mlockall error 0"

2010-10-08 Thread Clint Byrum
;> >> In order to continue on memory optimizations, I've been trying to use the >> JNA. However, when I copy the jna.jar to the lib directory? I get the >> warning. I'm currently running the 0.6.5 version of cassandra. >> >> WARN [main] 2010-10-08 09:16:18,

Re: using jna.jar "Unknown mlockall error 0"

2010-10-08 Thread Utku Can Topçu
optimizations, I've been trying to use the >> JNA. However, when I copy the jna.jar to the lib directory? I get the >> warning. I'm currently running the 0.6.5 version of cassandra. >> >> WARN [main] 2010-10-08 09:16:18,924 FBUtilities.java (line 595) Unknown >&

Re: using jna.jar "Unknown mlockall error 0"

2010-10-08 Thread Nicolas Mathieu
i, In order to continue on memory optimizations, I've been trying to use the JNA. However, when I copy the jna.jar to the lib directory? I get the warning. I'm currently running the 0.6.5 version of cassandra. WARN [main] 2010-10-08 09:16:18,924 FBUtilities.java (line 59

Re: using jna.jar "Unknown mlockall error 0"

2010-10-08 Thread Utku Can Topçu
I'm running an Ubuntu 9.10 linux box. On Fri, Oct 8, 2010 at 11:33 AM, Roger Schildmeijer wrote: > > > On Fri, Oct 8, 2010 at 11:27 AM, Utku Can Topçu wrote: > >> Hi, >> >> In order to continue on memory optimizations, I've been trying to use the >>

Re: using jna.jar "Unknown mlockall error 0"

2010-10-08 Thread Roger Schildmeijer
On Fri, Oct 8, 2010 at 11:27 AM, Utku Can Topçu wrote: > Hi, > > In order to continue on memory optimizations, I've been trying to use the > JNA. However, when I copy the jna.jar to the lib directory? I get the > warning. I'm currently running the 0.6.5 version of cassan

using jna.jar "Unknown mlockall error 0"

2010-10-08 Thread Utku Can Topçu
Hi, In order to continue on memory optimizations, I've been trying to use the JNA. However, when I copy the jna.jar to the lib directory? I get the warning. I'm currently running the 0.6.5 version of cassandra. WARN [main] 2010-10-08 09:16:18,924 FBUtilities.java (line 595) Unknow