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 1D8F917DC5 for ; Wed, 25 Feb 2015 20:53:48 +0000 (UTC) Received: (qmail 35531 invoked by uid 500); 25 Feb 2015 20:53:45 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 35486 invoked by uid 500); 25 Feb 2015 20:53:45 -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 35476 invoked by uid 99); 25 Feb 2015 20:53:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2015 20:53:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pickgr@whistle.com designates 209.85.214.178 as permitted sender) Received: from [209.85.214.178] (HELO mail-ob0-f178.google.com) (209.85.214.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2015 20:53:20 +0000 Received: by mail-ob0-f178.google.com with SMTP id uz6so6600785obc.9 for ; Wed, 25 Feb 2015 12:53:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=76Tr1K7/4wlTrXfu1E9wC3blXUrGOTDaSgroiaBpLcE=; b=cQSyktWToIjy+gLKACDcv1c1E1wUpVxMyxs4KAjC5r4hFxOw/VhDwrBX6C95fej0Z/ U4CYIwT5mWEttJ8lghzgGTYe0Kn1BxLQVlKkE4VUEUvsGE99h8yHSo0RmN7o/xv6fG5z O+Vfi25BcwsKHKOq4RR4D/GQEDxZb+ihFC5srB39B9LVR7L2YFDfwli11tCVVZiR6muG UDe8DEvBamG82V/S1buRSQe5wScCADzCQdxUYbaHFnLg4UOhhspXHQH3SEwla5t1dOuK UyT8z/4hhBiXlA5zjx2IcggkMrOm9K5u6VovMx2h+HwHdeRxi+JrAonmgLl5LSEaGg/k 87Kw== X-Gm-Message-State: ALoCoQlqymPLbwmr+WbLk8ZRd19nUCCtQTdpJLQEoCkd3mhwXxvZUrK9yNBoitzT2q4Up/7nSzjd MIME-Version: 1.0 X-Received: by 10.202.186.85 with SMTP id k82mr3312680oif.69.1424897598438; Wed, 25 Feb 2015 12:53:18 -0800 (PST) Received: by 10.202.94.68 with HTTP; Wed, 25 Feb 2015 12:53:18 -0800 (PST) In-Reply-To: References: Date: Wed, 25 Feb 2015 10:53:18 -1000 Message-ID: Subject: Re: Setting up JNA on CentOS 6.6. with cassandra20-2.0.12 and Oracle Java 1.7.0_75 From: Garret Pick To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a113cdeba325b67050fefd39e X-Virus-Checked: Checked by ClamAV on apache.org --001a113cdeba325b67050fefd39e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, On this page http://www.datastax.com/documentation/cassandra/2.0/cassandra/install/insta= llJnaRHEL.html it says "Cassandra requires JNA 3.2.7 or later. Some Yum repositories may provide earlier versions" and at the bottom "If you can't install using Yum or it provides a version of the JNA earlier than 3.2.7, install as described in Installing the JNA from the JAR file." Which version of OS and Cassandra are you running? thanks, Garret On Wed, Feb 25, 2015 at 10:46 AM, J. Ryan Earl wrote: > > We've been using jna-3.2.4-2.el6.x86_64 with the Sun/Oracle JDK for probably 2-years now, and it works just fine. Where are you seeing 3.2.7 required at? I searched the pages you link and that string isn't even in there. > > Regardless, I assure you the newest jna that ships in the EL6 repo works without issues. > > On Wed, Feb 25, 2015 at 2:12 PM, Garret Pick wrote: >> >> Hello, >> >> I'm having problems getting cassandra to start with the configuration listed above. >> >> Yum wants to install 3.2.4-2.el6 of the JNA along with several other packages including java-1.7.0-openjdk >> >> The documentation states that a JNA version earlier that 3.2.7 should not be used, so the jar file should be downloaded and installed directly into C*'s lib directory per >> >> http://www.datastax.com/documentation/cassandra/2.0/cassandra/install/insta= llJnaTar.html >> >> From /var/log/cassandra/system.log >> >> all I see is >> >> INFO [main] 2015-02-25 20:06:10,202 CassandraDaemon.java (line 191) Classpath: /etc/cassandra/conf:/usr/share/cassandra/lib/antlr-3.2.jar:/usr/share/cassa= ndra/lib/apache-cassandra-2.0.12.jar:/usr/share/cassandra/lib/apache-cassan= dra-clientutil-2.0.12.jar:/usr/share/cassandra/lib/apache-cassandra-thrift-= 2.0.12.jar:/usr/share/cassandra/lib/commons-cli-1.1.jar:/usr/share/cassandr= a/lib/commons-codec-1.2.jar:/usr/share/cassandra/lib/commons-lang3-3.1.jar:= /usr/share/cassandra/lib/compress-lzf-0.8.4.jar:/usr/share/cassandra/lib/co= ncurrentlinkedhashmap-lru-1.3.jar:/usr/share/cassandra/lib/disruptor-3.0.1.= jar:/usr/share/cassandra/lib/guava-15.0.jar:/usr/share/cassandra/lib/high-s= cale-lib-1.1.2.jar:/usr/share/cassandra/lib/jackson-core-asl-1.9.2.jar:/usr= /share/cassandra/lib/jackson-mapper-asl-1.9.2.jar:/usr/share/cassandra/lib/= jamm-0.2.5.jar:/usr/share/cassandra/lib/jbcrypt-0.3m.jar:/usr/share/cassand= ra/lib/jline-1.0.jar:/usr/share/cassandra/lib/jna.jar:/usr/share/cassandra/= lib/json-simple-1.1.jar:/usr/share/cassandra/lib/libthrift-0.9.1.jar:/usr/s= hare/cassandra/lib/log4j-1.2.16.jar:/usr/share/cassandra/lib/lz4-1.2.0.jar:= /usr/share/cassandra/lib/metrics-core-2.2.0.jar:/usr/share/cassandra/lib/ne= tty-3.6.6.Final.jar:/usr/share/cassandra/lib/reporter-config-2.1.0.jar:/usr= /share/cassandra/lib/servlet-api-2.5-20081211.jar:/usr/share/cassandra/lib/= slf4j-api-1.7.2.jar:/usr/share/cassandra/lib/slf4j-log4j12-1.7.2.jar:/usr/s= hare/cassandra/lib/snakeyaml-1.11.jar:/usr/share/cassandra/lib/snappy-java-= 1.0.5.jar:/usr/share/cassandra/lib/snaptree-0.1.jar:/usr/share/cassandra/li= b/stress.jar:/usr/share/cassandra/lib/super-csv-2.1.0.jar:/usr/share/cassan= dra/lib/thrift-server-0.3.7.jar:/usr/share/cassandra/lib/jamm-0.2.5.jar >> >> and it never actually starts >> >> Note that JNA is in the classpath above and is when I remove it, cassandra starts successfully. >> >> I tried installing the DSE package and it looks like it wants to install the older 3.2.4 JNA as a dependency so there seems to be a discrepancy in documentation >> >> Per >> >> http://www.datastax.com/documentation/datastax_enterprise/4.6/datastax_ente= rprise/install/installRHELdse.html >> >> Note: JNA (Java Native Access) is automatically installed. >> >> thanks for any help, >> Garret > > --001a113cdeba325b67050fefd39e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

On this page

= http://www.datastax.com/documentation/cassandra/2.0/cassandra/install/insta= llJnaRHEL.html

it says

"Cassandra requires JNA 3.2.7= or later. Some Yum repositories may provide earlier versions"

= and at the bottom

"If you can't install using Yum or it pro= vides a version of the JNA earlier than 3.2.7, install as described in Inst= alling the JNA from the JAR file."

Which version of= OS and Cassandra are you running?

thanks,
Garret



On Wed, Feb 25, 2015 at 10:46 AM, J. Ryan Earl <= ;oss@jryanearl.us> wrote:
>= ;
> We've been using jna-3.2.4-2.el6.x86_64 with the Sun/Oracle J= DK for probably 2-years now, and it works just fine.=C2=A0 Where are you se= eing 3.2.7 required at?=C2=A0 I searched the pages you link and that string= isn't even in there.
>
> Regardless, I assure you the newe= st jna that ships in the EL6 repo works without issues.
>
> On = Wed, Feb 25, 2015 at 2:12 PM, Garret Pick <pickgr@whistle.com> wrote:
>>
>> Hello,>>
>> I'm having problems getting cassandra to start w= ith the configuration listed above.
>>
>> Yum wants to in= stall 3.2.4-2.el6 of the JNA along with several other packages including ja= va-1.7.0-openjdk
>>
>> The documentation states that a JN= A version earlier that 3.2.7 should not be used, so the jar file should be = downloaded and installed directly into C*'s lib directory per
>&g= t;
>> http://www.datastax.com/documentat= ion/cassandra/2.0/cassandra/install/installJnaTar.html
>>
&= gt;> From /var/log/cassandra/system.log
>>
>> all I se= e is
>>
>> =C2=A0INFO [main] 2015-02-25 20:06:10,202 Cass= andraDaemon.java (line 191) Classpath: /etc/cassandra/conf:/usr/share/cassa= ndra/lib/antlr-3.2.jar:/usr/share/cassandra/lib/apache-cassandra-2.0.12.jar= :/usr/share/cassandra/lib/apache-cassandra-clientutil-2.0.12.jar:/usr/share= /cassandra/lib/apache-cassandra-thrift-2.0.12.jar:/usr/share/cassandra/lib/= commons-cli-1.1.jar:/usr/share/cassandra/lib/commons-codec-1.2.jar:/usr/sha= re/cassandra/lib/commons-lang3-3.1.jar:/usr/share/cassandra/lib/compress-lz= f-0.8.4.jar:/usr/share/cassandra/lib/concurrentlinkedhashmap-lru-1.3.jar:/u= sr/share/cassandra/lib/disruptor-3.0.1.jar:/usr/share/cassandra/lib/guava-1= 5.0.jar:/usr/share/cassandra/lib/high-scale-lib-1.1.2.jar:/usr/share/cassan= dra/lib/jackson-core-asl-1.9.2.jar:/usr/share/cassandra/lib/jackson-mapper-= asl-1.9.2.jar:/usr/share/cassandra/lib/jamm-0.2.5.jar:/usr/share/cassandra/= lib/jbcrypt-0.3m.jar:/usr/share/cassandra/lib/jline-1.0.jar:/usr/share/cass= andra/lib/jna.jar:/usr/share/cassandra/lib/json-simple-1.1.jar:/usr/share/c= assandra/lib/libthrift-0.9.1.jar:/usr/share/cassandra/lib/log4j-1.2.16.jar:= /usr/share/cassandra/lib/lz4-1.2.0.jar:/usr/share/cassandra/lib/metrics-cor= e-2.2.0.jar:/usr/share/cassandra/lib/netty-3.6.6.Final.jar:/usr/share/cassa= ndra/lib/reporter-config-2.1.0.jar:/usr/share/cassandra/lib/servlet-api-2.5= -20081211.jar:/usr/share/cassandra/lib/slf4j-api-1.7.2.jar:/usr/share/cassa= ndra/lib/slf4j-log4j12-1.7.2.jar:/usr/share/cassandra/lib/snakeyaml-1.11.ja= r:/usr/share/cassandra/lib/snappy-java-1.0.5.jar:/usr/share/cassandra/lib/s= naptree-0.1.jar:/usr/share/cassandra/lib/stress.jar:/usr/share/cassandra/li= b/super-csv-2.1.0.jar:/usr/share/cassandra/lib/thrift-server-0.3.7.jar:/usr= /share/cassandra/lib/jamm-0.2.5.jar
>>
>> and it never ac= tually starts
>>
>> Note that JNA is in the classpath abo= ve and is when I remove it, cassandra starts successfully.
>>
&= gt;> I tried installing the DSE package and it looks like it wants to in= stall the older 3.2.4 JNA as a dependency so there seems to be a discrepanc= y in documentation
>>
>> Per
>>
>> http://www.datastax.com/document= ation/datastax_enterprise/4.6/datastax_enterprise/install/installRHELdse.ht= ml
>>
>> Note: JNA (Java Native Access) is automatica= lly installed.
>>
>> thanks for any help,
>> Gar= ret
>
>
--001a113cdeba325b67050fefd39e--