Cassandra datastore should use the documented method to stop the cassandra service

Bug #1295362 reported by Amrith Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Medium
Amrith Kumar

Bug Description

Currently the cassandra agent stops cassandra as:

STOP_CASSANDRA = "sudo killall java 2> /dev/null || true"

This is excessively harsh and doesn't give the service a chance to do any orderly shutdown.

The recommended way is:

sudo service cassandra stop

Amrith Kumar (amrith)
Changed in trove:
assignee: nobody → Amrith (amrith)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

Fix proposed to branch: master
Review: https://review.openstack.org/82080

Changed in trove:
status: New → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/82080
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=eead86ac42a4ac5b14b64255d81666955f2d0b6b
Submitter: Jenkins
Branch: master

commit eead86ac42a4ac5b14b64255d81666955f2d0b6b
Author: Amrith Kumar <email address hidden>
Date: Tue Apr 8 02:26:56 2014 -0400

    Correct the command to stop cassandra server

    Using kill is too heavy, recommended is to use service stop

    Change-Id: I8d679502f1a05e3d9b04420f1021d362096b22d3
    Closes-Bug: 1295362

Changed in trove:
status: In Progress → Fix Committed
Changed in trove:
importance: Undecided → Medium
milestone: none → juno-1
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: juno-1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.