Book Image

Mastering Apache Cassandra - Second Edition

Book Image

Mastering Apache Cassandra - Second Edition

Overview of this book

Table of Contents (15 chapters)
Mastering Apache Cassandra Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The required software


Cassandra runs over a JVM, and this is all you need to get Cassandra up and running. Any platform that has the JVM can have Cassandra. At the time of writing this, Java's latest version was Java SE 8. However, it is highly recommended to use Oracle Java 7 for Cassandra, to avoid unexplainable bugs due to any inconsistency in the Java version or vendor implementation.

The other thing that one should consider for the production setup is to have the Java Native Access (JNA) library. It provides access to the native platform's shared libraries. JNA can be configured to disallow swapping of the JVM and hence improve Cassandra memory usage.

Installing Oracle Java 7

The default installation of Linux systems usually contains the OpenJDK Java Runtime Environment (JRE). This should be removed or, alternatively, OpenJDK should be retained, but the default JRE should be set as Oracle JRE. This guide will use a 64-bit system. To check whether your system has JRE, and what version...