Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-6925

/etc/init.d/cassandra clobbers pid file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • None
    • Packaging
    • None
    • Low

    Description

      Preconditions:
      Cassandra service is running successfully.

      Cassandra service is erroneously started when already running via:
      service cassandra start

      /var/run/cassandra/cassandra.pid is overwritten with new pid. The original cassandra process continues to run. The recorded pid is not running.

      Because the recorded pid is incorrect, its impossible to stop cassandra via:
      service cassandra stop

      Before starting cassandra, the script should ensure that its not already running.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jcbrown Craig Brown
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: