Sunday, January 12, 2014

Apache Cassandra Start-up Problem - UseCondCardMark


You receive the error below when attempting to start up Cassandra

Unrecognized VM option 'UseCondCardMark'


The issue is that JVM option is for the server JVM, only.  You're likely attempting to start Cassandra with the 'client' JVM.


Add the '-server' option to the JVM_OPTS variable that Cassandra utilizes.  That shell variable is build up in the conf/ file.  Below I've edited that file and added the '-server' option as the first option to JVM_OPTS.

# Here we create the arguments that will get passed to the jvm when
# starting cassandra.

JVM_OPTS="$JVM_OPTS -server"

No comments:

Post a Comment