Did you install via a package or tarball binaries?

Packages allow you to run cassandra as a service with
sudo service cassandra <start|stop>

But if you are running via tarballs, then yes, running a kill command
against Cassandra is the way to do it since Cassandra runs in crash-only
mode. Kill <pid> would work however.

Thanks,

Joaquin Casares
DataStax
Software Engineer/Support



On Tue, Jul 26, 2011 at 12:19 PM, Priyanka <priya...@gmail.com> wrote:

> I do the same way...
>
> On Tue, Jul 26, 2011 at 1:07 PM, mcasandra [via [hidden 
> email]<http://user/SendEmail.jtp?type=node&node=6622997&i=0>]
> <[hidden email] <http://user/SendEmail.jtp?type=node&node=6622997&i=1>>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]<http://user/SendEmail.jtp?type=node&node=6622997&i=2>,
>> email [hidden email]<http://user/SendEmail.jtp?type=node&node=6622997&i=3>
>> To unsubscribe from [hidden 
>> email]<http://user/SendEmail.jtp?type=node&node=6622997&i=4>,
>> click here.
>>
>
>
> ------------------------------
> View this message in context: Re: Cassandra start/stop 
> scripts<http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Cassandra-start-stop-scripts-tp6622977p6622997.html>
>
> Sent from the cassandra-u...@incubator.apache.org mailing list 
> archive<http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/>at 
> Nabble.com.
>

Reply via email to