stop cassandra server on mac os x

后端 未结 7 1107
走了就别回头了
走了就别回头了 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:10

    You can use Cassandra's nodetool command, as well.

    nodetool drain
    

    The documentation doesn't say anything about it shutting down, but it works reliably for me with a single node, local server. It generally takes a few seconds to finish the shutdown, however.

提交回复
热议问题