Stopping Cassandra as a service

Stopping the Cassandra Java server process on packaged installations.

Stopping the Cassandra Java server process on packaged installations.

Procedure

  1. You must have root or sudo permissions to stop the Cassandra service:
    sudo service cassandra stop
  2. Find the Cassandra Java process ID (PID), and then kill the process using its PID number:
    ps auwx | grep cassandra
    sudo kill pid #Stop Cassandra