我有一个节点Cassandra 2.0.4启动并运行我需要在配置更改后重新启动我厌倦重新启动它通过引用此但不工作
>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
Run Code Online (Sandbox Code Playgroud)
我做了安装参考这个
直到我必须重新启动它,我正在通过重新启动运行Cassandra的服务器来完成.
请告诉我重启apache Cassandra 2.0.4的正确方法是什么
如果它只是一个过程而不是一个服务,你可以做类似的事情
$ ps auwx | grep cassandra
$ sudo kill <pid>
Run Code Online (Sandbox Code Playgroud)
<pid>
你从哪里来的ps auwx | grep cassandra
这将停止该过程.然后你必须重新开始
$ cd <install_location>
$ bin/cassandra
Run Code Online (Sandbox Code Playgroud)
<install_location>
你在哪里安装cassandra
如果是服务: service cassandra restart
归档时间: |
|
查看次数: |
17399 次 |
最近记录: |