stop cassandra server on mac os x

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

    If you've installed cassandra via homebrew, use brew info cassandra and it will tell you how to load/unload cassandra using launchctl. This worked better for me than the other answers here.

    Commands

    brew info cassandra To see status of cassandra

    brew services start cassandra To start cassandra

    brew services stop cassandra To stop cassandra

提交回复
热议问题