Re: Setting up JNA on CentOS 6.6. with cassandra20-2.0.12 and Oracle Java 1.7.0_75

2015-02-26 Thread Nate McCall
> I figured out the issue. I'm using a VM and the template I had did not configure enough virtual memory. I'm not sure what the minimum is but 2048 seems to work. Cassandra will use JNA to try to mlockall for all pages currently mapped to the process address space. On very small systems (1024mb

Re: Setting up JNA on CentOS 6.6. with cassandra20-2.0.12 and Oracle Java 1.7.0_75

2015-02-25 Thread Garret Pick
I figured out the issue. I'm using a VM and the template I had did not configure enough virtual memory. I'm not sure what the minimum is but 2048 seems to work. For the record, I'm using /usr/share/cassandra/lib/jna-4.1.0.jar Thanks for all of the tips! Garret On Wed, Feb 25, 2015 at 11:13 AM

Re: Setting up JNA on CentOS 6.6. with cassandra20-2.0.12 and Oracle Java 1.7.0_75

2015-02-25 Thread J. Ryan Earl
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,

Re: Setting up JNA on CentOS 6.6. with cassandra20-2.0.12 and Oracle Java 1.7.0_75

2015-02-25 Thread Carlos Rolo
Also I always install JNA from the JNA page. I did the installation for this blog post in CentOS 6.5: http://www.pythian.com/blog/from-0-to-cassandra-an-exhaustive-approach-to-installing-cassandra/ Regards, Carlos Juzarte Rolo Cassandra Consultant Pythian - Love your data rolo@pythian | Twitte

Re: Setting up JNA on CentOS 6.6. with cassandra20-2.0.12 and Oracle Java 1.7.0_75

2015-02-25 Thread Carlos Rolo
Hello, I always install JNA into the lib directory of java itself Since I normally have java in /opt/java I put the JNA into /opt/java/lib. ~$ grep JNA /var/log/cassandra/system.log INFO HH:MM:SS JNA mlockall successful Regards, Carlos Juzarte Rolo Cassandra Consultant Pythian - Love your d

Re: Setting up JNA on CentOS 6.6. with cassandra20-2.0.12 and Oracle Java 1.7.0_75

2015-02-25 Thread Garret Pick
Hi, On this page http://www.datastax.com/documentation/cassandra/2.0/cassandra/install/installJnaRHEL.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

Re: Setting up JNA on CentOS 6.6. with cassandra20-2.0.12 and Oracle Java 1.7.0_75

2015-02-25 Thread J. Ryan Earl
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 wi

Setting up JNA on CentOS 6.6. with cassandra20-2.0.12 and Oracle Java 1.7.0_75

2015-02-25 Thread Garret Pick
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