> 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
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
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,
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
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
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
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
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