Installing the JNA on RHEL or CentOS Systems

Installing JNA can improve Cassandra memory usage.

Installing JNA can improve Cassandra memory usage. When installed and configured, Linux does not swap out the JVM, and thus avoids related performance issues.

Prerequisites

Cassandra requires JNA 3.2.7 or later. Some Yum repositories may provide earlier versions.

Procedure

  1. Install with the following command:
    $ sudo yum install jna
  2. If the Yum repository provides a version of the JNA earlier than 3.2.7, install the jna.jar as described in Installing the JNA using the binary tarball.