DISCLAIMER This is a very early version of Cassandra-on-Mesos framework. This document, code behavior, and anything else may change without notice and/or break older installations.
The Cassandra-on-Mesos framework first allocates executors for all seed nodes. It starts the Cassandra processes after the initially configured number of seed nodes have been allocated.
Example: If you have configured 3 seed nodes, but only 2 executors are allocated, no Cassandra process is started. After the 3rd executor is allocated, all Cassandra processes are started in the normal fashion.
Yes! However, if you run Mesos on Amazon EC2 or Google Compute Engine, make sure that all Cassandra nodes live in one availability zone for now. Cross region deployments are currently unsupported.
Here are the defined Cassandra-on-Mesos limitations before a Cassandra process can be started:
NORMAL. Otherwise, other nodes cannot join the cluster.
bootstrapGraceTimeSeconds. This allows a previously started node to successfully bootstrap.
Yes, if you configure Apache Mesos and Apache Cassandra correctly.
Security risk notice: If you have an interface that faces the public internet and you expose ports that are used by Apache Mesos and/or Apache Cassandra to the public internet, you are at serious risk of compromise. Never expose ports to the public internet and configure your firewall rules carefully!
Special note on JMX port Sun/Oracle do not bind the JMX network listener to a specific IP and/or interface, which means that JMX is available on all interfaces.
A possible security risk in Apache has been closed in versions 2.0.14 and 2.1.4. This had impact to the
current development of the Cassandra-on-Mesos framework. Since 2.0.14 and 2.1.4 Apache Cassandra only opens the JMX port (usually 7199) on the loopback address (
127.0.0.1). If you wish to open it and know that you introduce a possible security risk, you can pass the environment variables CASSANDRAJMXLOCAL=false
andCASSANDRAJMXNO_AUTHENTICATION=true` to the framework upon initial invocation (i.e. when the framework first registers).
CASSANDRA-9089 is meant to let JMX listen to a specific IP address, but is is not included in Cassandra 2.1.4.
All Apache Cassandra versions from 2.1 forward work with this version of the Cassandra-on-Mesos framework. Note Currently there is no official mechanism to upgrade from one version to another.
com-nodetool are not designed to be executed against releases outside of the ones they are taken from. This means that a
nodetool command from 2.1.2 issued against 2.0.14 may not work. There is no guaranteed compatibility in JMX between versions of Apache Cassandra.