Why still getting JNA error on Cassandra startup,

2019-07-03 03:10发布

问题:

I have downloaded and copied Jna.jar and Platform.jar to /usr/cassandra/apache-cassandra-1.0.7/lib folder, but still see the following error on Cassandra startup, am I missing anything?

"On cassandra JNA not found. Native methods will be disabled."

And the following are where I get the Jna.jar and Platform.jar

https://github.com/downloads/twall/jna/jna.jar https://github.com/downloads/twall/jna/platform.jar

回答1:

Based on the suggested in comments post.

Ubunto 12.10
Cassandra 1.1.6

I fixed this by

sudo apt-get install libjna-java
sudo ln -s /usr/share/java/jna.jar /usr/share/cassandra/lib


标签: cassandra jna