Cassandra 验证失败错误 - 修复会话因错误而失败

Cassandra Validation failed error - Repair session failed with error

我是 运行 一个版本为 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%)

谁能帮我解决这个问题。

1) 确保所有节点都正常运行。

2) 转到具有指定 IP 的节点(在您附加的日志中,并检查系统和调试日志)。

3) 确保没有其他修复过程正在进行 on/stuck。要验证它,请从所有节点上的 运行 nodetool compactionstatsnodetool netstats 开始。如果可能,请将输出附加到问题。

解决这个问题。

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