Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check if JNA is enabled in Cassandra

Tags:

cassandra

I know from other posts that Cassandra writes some warning in log files if JNA is not configured properly. My log files (cassandra.log and system.log) do not contain the word "jna" (all case checked). Can I assume that JNA is configured correctly for my instance of Cassandra ?

Is there any way to check if the JNA configuration is correct ?

like image 266
Nicola Ferraro Avatar asked Dec 10 '14 17:12

Nicola Ferraro


1 Answers

If JNA is configured properly, you should see a message in your log like this:

INFO [main] 2014-06-06 15:55:11,664 CLibrary.java (line 121) JNA mlockall successful

Also in your log, the JNA library should appear in your classpath output:

INFO [main] 2014-06-06 16:47:13,318 CassandraDaemon.java (line 191) Classpath:...
....:/usr/share/java/jna.jar:
like image 173
Aaron Avatar answered Oct 12 '22 09:10

Aaron