【问题标题】:Why does my Cassandra sometimes show operation timed out error?为什么我的 Cassandra 有时会显示操作超时错误?
【发布时间】:2016-05-12 18:36:58
【问题描述】:

我有 130.000 个数据行,并且我在 cassandra 上进行了许多读取、写入和删除操作。

有时会出现此错误消息,这意味着我的系统中一定有一些错误,但我不知道哪里出了问题:

code=1100 [Coordinator node timed out waiting for replica nodes' 
responses] message="Operation timed out - received only 0 responses." 
info={'received_responses': 0, 'required_responses': 1, 'consistency': 'LOCAL_ONE'}

感谢您的帮助!

【问题讨论】:

    标签: cassandra datastax datastax-enterprise


    【解决方案1】:

    将 Cassandra 配置文件 (cassandra.yaml) 中的 write_request_timeout_in_ms 增加到更大的数字。当读取速度很快并且您的写入时间较长(因此超时)时会发生此错误。

    尝试类似:

    write_request_timeout_in_ms: 20000
    

    然后重启你的服务器。

    【讨论】:

      猜你喜欢
      • 2016-10-12
      • 1970-01-01
      • 2015-01-26
      • 2016-11-08
      • 2015-05-26
      • 2011-03-09
      • 2022-11-25
      • 1970-01-01
      相关资源
      最近更新 更多