elodina / datastax-enterprise-mesos

DataStax Enterprise on Mesos
http://www.elodina.net
15 stars 4 forks source link

assigned JVM_EXTRA_OPTS to cassandraJvmOptions #68

Closed olegkovalenko closed 8 years ago

olegkovalenko commented 8 years ago

Temporary quick fix to override cassandra-env.sh default calculation of max-heap-size and new-heap-size in order to avoid OOM due to different hardware setup (since stack file has single configuration for node across all servers).

Simple example of this would be the following - we had a stack where Cassandra node had 4500 MB ram allocated to it. This configuration worked fine on 8 GB machine but OOM'ed on 32 GB machine.

olegkovalenko commented 8 years ago

Thanks!