Cassandra验证失败错误

时间:2017-05-16 04:50:13

标签: apache cassandra nodetool

我正在运行版本为2.2.4的Cassandra集群。群集由3个节点组成。 当我使用nodetool repair命令开始修复时,我收到以下错误。而且它没有继续进行。

root@ems:/opt/apache-cassandra-2.2.4/bin# ./nodetool repair
[2017-05-16 00:26:37,919] Starting repair command #47, repairing keyspace contexxio with repair options (parallelism: parallel, primary range: false, incremental: true, job threads: 1, ColumnFamilies: [], dataCenters: [], hosts: [], # of ranges: 768)
[2017-05-16 00:26:39,571] Repair completed successfully
[2017-05-16 00:26:39,574] Repair command #47 finished in 1 second
[2017-05-16 00:26:39,606] Starting repair command #48, repairing keyspace watchtower_keyspace with repair options (parallelism: parallel, primary range: false, incremental: true, job threads: 1, ColumnFamilies: [], dataCenters: [], hosts: [], # of ranges: 509)
[2017-05-16 00:26:40,555] Repair session dbbf6510-39ef-11e7-8027-d710f406f829 for range (-4631786651008530880,-4578496872070625882] failed with error [repair #dbbf6510-39ef-11e7-8027-d710f406f829 on watchtower_keyspace/release_stages, (-4631786651008530880,-4578496872070625882]] Validation failed in /10.128.133.99 (progress: 0%)

任何人都可以帮助我解决这个问题。

2 个答案:

答案 0 :(得分:3)

解决这个问题。

在受影响的节点中执行nodetool scrub。它解决了与Cassandra Validation失败错误相关的问题。

答案 1 :(得分:1)

1) Make sure all nodes are up and ok.

2) Go to the node with specified IP (in the log you've attached, and check system and debug logs).

3) Make sure there is no other repair processes going on/stuck. To verify it, start with running nodetool compactionstats and nodetool netstats on all nodes. If possible, attach the outputs to the question.

相关问题