Kill -9 (SIGKILL) is the worst signal to use. It has the advantage to
kill quickly the process, but no shutdown hook are called. You should
better kill -15 (SIGTERM, which is the default).
2011/7/26 mcasandra :
> I need to write cassandra start/stop script. Currently I run "cassandra" to
> start
andra
- Original Message -
From: "Jason Pell"
To: user@cassandra.apache.org
Cc: cassandra-u...@incubator.apache.org
Sent: Tuesday, July 26, 2011 11:01:46 PM
Subject: Re: Cassandra start/stop scripts
Check out the rpm packages from Cassandra they have init.d scripts that work
very nicely,
tp://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.
>>
>>
>>
>
[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.
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 he
p-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
I do the same way...
On Tue, Jul 26, 2011 at 1:07 PM, mcasandra [via
cassandra-u...@incubator.apache.org] <
ml-node+6622977-1598721269-336...@n2.nabble.com> 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?