stop cassandra server on mac os x

后端 未结 7 1094
走了就别回头了
走了就别回头了 2021-02-05 08:33

How do I stop cassandra server running on a single node in my mac os x? Cassandra script doesn\'t have -stop option. Only way other than restart the mac os x, was to do a \"ps\

7条回答
  •  鱼传尺愫
    2021-02-05 09:07

    Found this solution elsewhere which seems to work!

    pkill -f 'java.*cassandra'

    Worth a try! This works on the Ubuntu I have. Not on MacOS!

    On Mac one more is ps -af | grep cassandra and then using kill. But, it does not work sometimes!

提交回复
热议问题