Upon installing and configuring Cassandra on your machine, you can start Cassandra.
Start Cassandra using the following command:
$ sudo service cassandra start
Issue the following command to verify that Cassandra is ready:
$ tail /var/log/cassandra/cassandra.log
- Verify that the command prompt contains a line similar to the following example:
INFO 15:51:58,644 Node/10.1.1.123 state jump to normal
INFO 15:51:58,650 Waiting for gossip to settle before accepting client requests...
INFO 15:52:06,650 No gossip backlog; proceeding
If you get an out of memory error when starting Cassandra (Figure 1) you need to open the file /etc/cassandra/conf/cassandra-env.sh
and increase the Java stack size from JVM_OPTS="$JVM_OPTS -Xss180k" to JVM_OPTS="$JVM_OPTS -Xss228k" (Figure 2).

Figure 1: Out of memory error due to insufficient Java stack size

Figure 2: Increasing Java stack size