卡桑德拉消化不匹配错误

时间:2017-11-07 22:36:39

标签: datastax-enterprise datastax-startup

我经常在Cassandra的debug.log中看到以下消息,有时在丢失集群中的节点之前。关于消息意味着什么,以及如何解决潜在问题的任何想法?

    DEBUG [ReadRepairStage:9346] 2017-11-06 22:29:46,135  ReadCallback.java:242 - Digest mismatch:
org.apache.cassandra.service.DigestMismatchException: Mismatch for key DecoratedKey(-8713145541289520569, 00114c65616465722f6d61737465722f352e3100000364633100) (408c7e13eea38efc9429366038cbe4a3 vs 8ce8acece0966903ac590d3229099398)
    at org.apache.cassandra.service.DigestResolver.compareResponses(DigestResolver.java:92) ~[cassandra-all-3.11.0.1900.jar:3.11.0.1900]
    at org.apache.cassandra.service.ReadCallback$AsyncRepairRunner.run(ReadCallback.java:233) ~[cassandra-all-3.11.0.1900.jar:3.11.0.1900]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_151]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_151]
    at org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:81) [cassandra-all-3.11.0.1900.jar:3.11.0.1900]
    at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_151]

以下是Cassandra集群的详细信息:

  • 4节点集群
  • 每个都是m4.2xlarge类型的AWS实例
  • 每个都有一个20000 IOPS的io1卷
  • 所有在同一个VPC上,使用10.0.0.x私有IP地址
  • DataStax Enterprise Server 5.1.5

1 个答案:

答案 0 :(得分:1)

我认为这些是来自读取修复的无害消息,注意到不同节点上的不同数据,并且可能不是导致节点发生故障的原因。去年查看了这个问题更详细的答案:Datastax Mismatch for Key Issue