1

Not able to go to find any documentation on how to kill a client connection to remote Cassandra I will instance .. as a DBA at the server end? Seems like an easy task but why no mention of this in Cassandra documentation...

PL help Thanks

2 Answers 2

1

To stop the Cassandra service, you need root or sudo permissions:

sudo service cassandra stop

ps auwx | grep cassandra

sudo kill <pid>

Hope it helped !! :)

0

Cassandra is designed to concurrently serve millions of requests per second mostly within single-digit millisecond latency. Moreover, most clients by default have a client-side timeout of 2 seconds considering that the expected latency is just a few milliseconds.

The idea of terminating active connections from a client remotely is almost a moot point given that clients are not supposed to send requests which are long-running queries so such functionality is unnecessary and therefore not available.

In most cases by the time you figure out which client connection to terminate, the request has either (a) already completed, or (b) a long-running query has already been aborted by the client. Cheers!

Not the answer you're looking for? Browse other questions tagged or ask your own question.