繁体   English   中英

Cassandra nodetool removenode挂起

[英]Cassandra nodetool removenode hangs

我试图从使用的cassandra(版本2.1.6)种子节点之一中删除一个死节点(我只从一个种子节点中运行)。

/ nodetool removenode节点ID

但是它挂了太久了, /nodetool removenode status

RemovalStatus:删除令牌(-9171133960945511267)。 等待来自[/ xxxx,/ xxxx,/ xxxx,/ xxxx]的复制确认。

使用CTRL-C我停止了命令

但是当我尝试跑步时

./nodetool removenode强制NodeID

它说

 error: This node is already processing a removal. Wait for it to complete, or use 'removenode force' if this has failed.
-- StackTrace --
java.lang.UnsupportedOperationException: This node is already processing a removal. Wait for it to complete, or use 'removenode force' if this has failed.

采取什么措施才能使我的集群不受任何影响?

这是我必须跑的错误

./nodetool removenode强制

最后没有NodeID。 并且解决了这个问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM