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 80AB885FE for ; Thu, 1 Sep 2011 15:14:12 +0000 (UTC) Received: (qmail 30896 invoked by uid 500); 1 Sep 2011 15:14:10 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 30717 invoked by uid 500); 1 Sep 2011 15:14:09 -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 30702 invoked by uid 99); 1 Sep 2011 15:14:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2011 15:14:09 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eczech52@gmail.com designates 209.85.210.172 as permitted sender) Received: from [209.85.210.172] (HELO mail-iy0-f172.google.com) (209.85.210.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2011 15:14:04 +0000 Received: by iakc1 with SMTP id c1so2537099iak.31 for ; Thu, 01 Sep 2011 08:13:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=7uKwkDzb9M+ysg4vcRJqeLkPCaV3+ZNC82ZQFHevro0=; b=AAJI4xlX42k6TUQj6jpp0Szt6yyYMnlnX320wec/xByZ+l+TPlwS1h/2KjyDxzBwqr 6CAGYEPpxj3NAPgJnMCePLmuGlIQlQr8ki/7zGvW3GQAxMLqRvLu5STgFJzY2KfSwu3l 21kLfmDGSgDt+2D2cAVEuBHtP4kxJ6sf6RXIQ= Received: by 10.42.144.196 with SMTP id c4mr274742icv.61.1314890024165; Thu, 01 Sep 2011 08:13:44 -0700 (PDT) MIME-Version: 1.0 Sender: eczech52@gmail.com Received: by 10.42.173.6 with HTTP; Thu, 1 Sep 2011 08:13:24 -0700 (PDT) In-Reply-To: References: From: Eric Czech Date: Thu, 1 Sep 2011 09:13:24 -0600 X-Google-Sender-Auth: 7x32ti_kW1nrVMNR8XUIrqyO1to Message-ID: Subject: Re: Unable to link C library (for jna.jar) on 0.7.5 To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=90e6ba21224bcf225204abe2b02f --90e6ba21224bcf225204abe2b02f Content-Type: text/plain; charset=ISO-8859-1 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 wrote: > On Wed, Aug 31, 2011 at 11:38 PM, Eric Czech > 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 > --90e6ba21224bcf225204abe2b02f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I got it here :=A0https://nodeload.github= .com/twall/jna/tarball/master

=
Is there some other version or distribution of jna that I sho= uld be using? =A0The version I have is 3.3.0.

On Thu, Sep 1, 2011 at 8:49 AM, = Eric Evans <eevans= @acunu.com> wrote:
On Wed, Aug 31, 2011 at 11:38 PM, Eric Czech <eric@nextbigsound.com> wrote:
> I'm running cassandra 0.7.5 on about 20 RHEL 5=A0(24 GB RAM)=A0mac= hines and I'm
> having issues with snapshots, json sstable conversions, and various no= detool
> commands due to memory errors and the lack of the native access C libr= aries.
> =A0I tried putting jna.jar on the classpath but I'm still seeing w= arnings in
> the log files like "CLibrary.java (line 65) Unable to link C libr= ary. Native
> methods will be disabled.". =A0Based on this warning, It looks li= ke the .jar
> file is actually on the classpath but the native access libraries stil= l
> aren't being used.

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

--
Eric Evans
Acunu |=A0http://www.acu= nu.com=A0| @acunu

--90e6ba21224bcf225204abe2b02f--