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 4C7F517ECC for ; Wed, 25 Feb 2015 21:15:21 +0000 (UTC) Received: (qmail 20059 invoked by uid 500); 25 Feb 2015 21:15:18 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 20021 invoked by uid 500); 25 Feb 2015 21:15:18 -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 20011 invoked by uid 99); 25 Feb 2015 21:15:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2015 21:15:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [209.85.215.50] (HELO mail-la0-f50.google.com) (209.85.215.50) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2015 21:15:14 +0000 Received: by labgm9 with SMTP id gm9so6840964lab.2 for ; Wed, 25 Feb 2015 13:13:47 -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=9XVAj4TZBSZW2FCz09aBC5XSSGmXkP/XwUcmwQ/sFkU=; b=PexEXoEedoiHc6MP06A5nGP1n7mq0uTZF2UHQUTEpsz6RbeDM+CBTX+q8OoN/tOfCs ScDwqJ8gPTZilCPThCzsrJIfYfi8ZASUocqmxLgRb3QkHctW/FbwV1g0thCZGyWTB1cT FEm59Ya7ktp28spy2GlxIVJ79XtEv8fMY86Bq4arypkr/eq/YEVZ6wZTm6ms/4Obi2AK Cm8zyj0vXTtEREY8fUyza2FbQ9RmGDMSIPJUA++SyfqBeSP3qwU1v2hZ28wj81/Q3YU0 TvPm3yCzgxR1aRkssVgWwRF3c2dK7VppuqN87szbehHR8QVnMldTRPqwaixXgzyOz6YC 7XcA== X-Gm-Message-State: ALoCoQkQ6t9zIbpJxVA7d4gZYaSr81kTQq75i8v4q0Znx73mqCkCRv6eyFj9mg9qQJ7+AXz5ICCM MIME-Version: 1.0 X-Received: by 10.153.11.163 with SMTP id ej3mr4637470lad.52.1424898827269; Wed, 25 Feb 2015 13:13:47 -0800 (PST) Received: by 10.25.42.204 with HTTP; Wed, 25 Feb 2015 13:13:47 -0800 (PST) X-Originating-IP: [204.155.27.137] In-Reply-To: References: Date: Wed, 25 Feb 2015 15:13:47 -0600 Message-ID: Subject: Re: Setting up JNA on CentOS 6.6. with cassandra20-2.0.12 and Oracle Java 1.7.0_75 From: "J. Ryan Earl" To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a1134635a70ceab050ff01cd7 X-Virus-Checked: Checked by ClamAV on apache.org --001a1134635a70ceab050ff01cd7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable CentOS6 and every major version of C* from 1.1 through 2.1, but I would be curious if there's maybe a memory leak or something fixed between 3.2.4 and 3.2.7...? AFAIK, it's only use for memlocking the heap and creating hardlinks for snapshots, both of which work. On Wed, Feb 25, 2015 at 2:53 PM, Garret Pick wrote: > Hi, > > On this page > > > http://www.datastax.com/documentation/cassandra/2.0/cassandra/install/ins= tallJnaRHEL.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 J= AR > 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 work= s > 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/ins= tallJnaTar.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/cas= sandra/lib/apache-cassandra-2.0.12.jar:/usr/share/cassandra/lib/apache-cass= andra-clientutil-2.0.12.jar:/usr/share/cassandra/lib/apache-cassandra-thrif= t-2.0.12.jar:/usr/share/cassandra/lib/commons-cli-1.1.jar:/usr/share/cassan= dra/lib/commons-codec-1.2.jar:/usr/share/cassandra/lib/commons-lang3-3.1.ja= r:/usr/share/cassandra/lib/compress-lzf-0.8.4.jar:/usr/share/cassandra/lib/= concurrentlinkedhashmap-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= -scale-lib-1.1.2.jar:/usr/share/cassandra/lib/jackson-core-asl-1.9.2.jar:/u= sr/share/cassandra/lib/jackson-mapper-asl-1.9.2.jar:/usr/share/cassandra/li= b/jamm-0.2.5.jar:/usr/share/cassandra/lib/jbcrypt-0.3m.jar:/usr/share/cassa= ndra/lib/jline-1.0.jar:/usr/share/cassandra/lib/jna.jar:/usr/share/cassandr= a/lib/json-simple-1.1.jar:/usr/share/cassandra/lib/libthrift-0.9.1.jar:/usr= /share/cassandra/lib/log4j-1.2.16.jar:/usr/share/cassandra/lib/lz4-1.2.0.ja= r:/usr/share/cassandra/lib/metrics-core-2.2.0.jar:/usr/share/cassandra/lib/= netty-3.6.6.Final.jar:/usr/share/cassandra/lib/reporter-config-2.1.0.jar:/u= sr/share/cassandra/lib/servlet-api-2.5-20081211.jar:/usr/share/cassandra/li= b/slf4j-api-1.7.2.jar:/usr/share/cassandra/lib/slf4j-log4j12-1.7.2.jar:/usr= /share/cassandra/lib/snakeyaml-1.11.jar:/usr/share/cassandra/lib/snappy-jav= a-1.0.5.jar:/usr/share/cassandra/lib/snaptree-0.1.jar:/usr/share/cassandra/= lib/stress.jar:/usr/share/cassandra/lib/super-csv-2.1.0.jar:/usr/share/cass= andra/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_en= terprise/install/installRHELdse.html > >> > >> Note: JNA (Java Native Access) is automatically installed. > >> > >> thanks for any help, > >> Garret > > > > > --001a1134635a70ceab050ff01cd7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
CentOS6 and every major version of C* from 1.1 through 2.1= , but I would be curious if there's maybe a memory leak or something fi= xed between 3.2.4 and 3.2.7...?=C2=A0 AFAIK, it's only use for memlocki= ng the heap and creating hardlinks for snapshots, both of which work.

On Wed, Feb 2= 5, 2015 at 2:53 PM, Garret Pick <pickgr@whistle.com> wrote:=
Hi,

On this page=

http://www.datastax.co= m/documentation/cassandra/2.0/cassandra/install/installJnaRHEL.html
=
it says

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

and at the bottom
<= br>"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 th= e 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 &l= t;oss@jryanearl.us> wrote:
>
> We've been using jna-3.2.4-2.el6.x86_64 wi= th the Sun/Oracle JDK for probably 2-years now, and it works just fine.=C2= =A0 Where are you seeing 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 newest 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 havi= ng 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 i= nto C*'s lib directory per
>>
>> http://www.datastax.com/documentation/cassandra/2.0= /cassandra/install/installJnaTar.html
>>
>> From /var= /log/cassandra/system.log
>>
>> all I see is
>><= br>>> =C2=A0INFO [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/cassandra/lib/apache-cassandra-2.0.12.jar:/usr/share/cassa= ndra/lib/apache-cassandra-clientutil-2.0.12.jar:/usr/share/cassandra/lib/ap= ache-cassandra-thrift-2.0.12.jar:/usr/share/cassandra/lib/commons-cli-1.1.j= ar:/usr/share/cassandra/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/concurrentlinkedhashmap-lru-1.3.jar:/usr/share/cassandr= a/lib/disruptor-3.0.1.jar:/usr/share/cassandra/lib/guava-15.0.jar:/usr/shar= e/cassandra/lib/high-scale-lib-1.1.2.jar:/usr/share/cassandra/lib/jackson-c= ore-asl-1.9.2.jar:/usr/share/cassandra/lib/jackson-mapper-asl-1.9.2.jar:/us= r/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/cassandra/lib/jna.jar= :/usr/share/cassandra/lib/json-simple-1.1.jar:/usr/share/cassandra/lib/libt= hrift-0.9.1.jar:/usr/share/cassandra/lib/log4j-1.2.16.jar:/usr/share/cassan= dra/lib/lz4-1.2.0.jar:/usr/share/cassandra/lib/metrics-core-2.2.0.jar:/usr/= share/cassandra/lib/netty-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:/us= r/share/cassandra/lib/slf4j-api-1.7.2.jar:/usr/share/cassandra/lib/slf4j-lo= g4j12-1.7.2.jar:/usr/share/cassandra/lib/snakeyaml-1.11.jar:/usr/share/cass= andra/lib/snappy-java-1.0.5.jar:/usr/share/cassandra/lib/snaptree-0.1.jar:/= usr/share/cassandra/lib/stress.jar:/usr/share/cassandra/lib/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 actually starts
= >>
>> Note that JNA is in the classpath above and is when I = remove it, cassandra starts successfully.
>>
>> I tried i= nstalling 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 documentatio= n
>>
>> Per
>>
>> http://www.datastax.com/documen= tation/datastax_enterprise/4.6/datastax_enterprise/install/installRHELdse.h= tml
>>
>> Note: JNA (Java Native Access) is automatic= ally installed.
>>
>> thanks for any help,
>> Ga= rret
>
>

--001a1134635a70ceab050ff01cd7--