gpt4 book ai didi

java - Cassandra 击落主机重试 (Hector)

转载 作者:行者123 更新时间:2023-12-01 13:34:42 27 4
gpt4 key购买 nike

有人可以帮助我理解并解决此问题吗?我不知道是什么导致 Hector 在尝试连接到 Cassandra 集群时失败。

如何找出问题所在?

0    [main] INFO  me.prettyprint.cassandra.connection.CassandraHostRetryService  - Downed     Host Retry service started with queue size 10 and retry delay 30s
168 [main] INFO me.prettyprint.cassandra.service.JmxMonitor - Registering JMX me.prettyprint.cassandra.service_keyspace-name:ServiceType=hector,MonitorType=hector
399 [main] INFO me.prettyprint.cassandra.model.ConfigurableConsistencyLevel - READ ConsistencyLevel set to QUORUM for ColumnFamily Files
400 [main] INFO me.prettyprint.cassandra.model.ConfigurableConsistencyLevel - WRITE ConsistencyLevel set to QUORUM for ColumnFamily Files
406 [main] INFO me.prettyprint.cassandra.model.ConfigurableConsistencyLevel - READ ConsistencyLevel set to QUORUM for ColumnFamily FileList
407 [main] INFO me.prettyprint.cassandra.model.ConfigurableConsistencyLevel - WRITE ConsistencyLevel set to QUORUM for ColumnFamily FileList

最佳答案

从跟踪来看,您似乎正在使用 QUORUM 作为一致性级别。尝试使用 ONE 看看是否有效。似乎应该满足您的请求的一个或多个节点已关闭。使用 NodeRool Ring/Status 或查看集群中是否有任何节点已关闭。

关于java - Cassandra 击落主机重试 (Hector),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21374729/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com