Wednesday, April 3, 2013

Cassandra - Can not start on Ubuntu

When i try to start cassandra on ubuntu with the command
"./Cassandra" i got an error saying "Segmentation fault (core dumped)"

This is caused by open JDK 1.6. This could be solved by changing the default stack size in the "conf/cassandra-env.sh" configuration file.
In the file changing the line
"JVM_OPTS="$JVM_OPTS -Xss180k"

to
"JVM_OPTS="$JVM_OPTS -Xss260k" it will start successfully.