The main advantage to that is, If you kill it without -9 it will make sure to let the commitlog flush and fsync first, if you've been using periodic sync (the default).
On Wed, Jul 27, 2011 at 1:31 AM, <jonathan.co...@gmail.com> wrote: > A simple kill without -9 should work. Have you tried that? > > On , Jason Pell <jasonmp...@gmail.com> wrote: >> Check out the rpm packages from Cassandra they have init.d scripts that >> work very nicely, there are debs as well for ubuntu >> >> Sent from my iPhone >> >> On Jul 27, 2011, at 3:19, Priyanka priya...@gmail.com> wrote: >> >> >> >> I do the same way... >> >> >> On Tue, Jul 26, 2011 at 1:07 PM, mcasandra [via [hidden email]] [hidden >> email]> wrote: >> >> >> I need to write cassandra start/stop script. Currently I run "cassandra" >> to start and kill -9 to stop. >> >> >> Is this the best way? kill -9 doesn't sound right :) Wondering how others >> do it. >> >> >> >> >> >> If you reply to this email, your message will be added to the discussion >> below: >> >> http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Cassandra-start-stop-scripts-tp6622977p6622977.html >> >> >> To start a new topic under [hidden email], email [hidden email] >> >> To unsubscribe from [hidden email], click here. >> >> >> >> >> >> >> >> >> View this message in context: Re: Cassandra start/stop scripts >> >> Sent from the cassandra-u...@incubator.apache.org mailing list archive at >> Nabble.com. >> >> >> -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com