Skip to main content

CCM extension that starts nodes under Java 1.8

Project description

ccm-java8

ccm-java8 is a simple CCM extension that explicitly sets the JAVA_HOME environment variable for all CCM-managed Cassandra nodes to an available Java 1.8 installation, which is required to run Cassandra 3.11 and lower.

While operating systems support the side-by-side installation of multiple Java versions, only one version can be selected as the default (i.e., what version java on $PATH points to). Cassandra's bin/cassandra launch script prefers the java binary under $JAVA_HOME, and will fallback to using the java binary on $PATH if $JAVA_HOME isn't set. Hence, unless $JAVA_HOME or the default is explicitly set to a Java 1.8 installation, Cassandra will try, and fail, to start under an incompatible Java version.

ccm-java8 works by registering a CCM extension, and hooks into the append_to_server_env method that allows extensions to provide additional environment variables for each Cassandra process started by CCM. On node start, ccm-java8 explicitly sets the JAVA_HOME environment variable to a directory containing a Java 1.8 installation, or throws an exception otherwise.

Platforms Currently Supported: macOS

Project details


Release history Release notifications

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ccm-java8, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size ccm_java8-0.1-py3-none-any.whl (6.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size ccm_java8-0.1.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page