簡體   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