How to restart apache cassandra 2.0.4?

I have one node Cassandra 2.0.4 and I have to restart it after changing the configuration, I'm tired of restarting it by reversing this but it does not work

>cassandra/bin/cassandra -p new Error: Exception thrown by the agent :java.rmi.server.ExportException: Port already in use: 7199; nested exception is: java.net.BindException: Address already in use >kill $(cat new) -bash: kill: (10404) - No such process 

I set this link

So far, when I have to restart it, I am doing a restart of the server running Cassandra.

Please tell me which way to restart apache Cassandra 2.0.4

+3
source share
2 answers

If this is just a process, not a service, you can do something like

 $ ps auwx | grep cassandra $ sudo kill <pid> 

where <pid> is what you get from ps auwx | grep cassandra ps auwx | grep cassandra

This will stop the process. Then you need to run it again

 $ cd <install_location> $ bin/cassandra 

where <install_location> is where you installed cassandra

if it is a service: service cassandra restart

+3
source

Try using the following commands:

 $ service dse start/stop/restart 
+2
source

All Articles