【问题标题】:Operation timed out - received only 0 responses in cassandra cql操作超时 - 在 cassandra cql 中仅收到 0 个响应
【发布时间】:2016-10-31 22:01:15
【问题描述】:

当我尝试从 .cql 文件中插入大量数据时,我收到了下面提到的错误。

<stdin>:70144:WriteTimeout: Error from server: 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': 'ONE'}

我该怎么办?我还在 cassandra.yaml

中增加了 write_request_timeout_in_ms

我的 cassandra 版本是 3.9python - 2.7

请任何人帮我解决这个问题!感谢任何答案谢谢

【问题讨论】:

    标签: python cassandra


    【解决方案1】:

    您要写入多少数据?好像数据太多,处理不了。你能分离数据并通过批量加载吗?这将是一种更好的方法,而不是增加超时时间。

    【讨论】:

      猜你喜欢
      • 2017-06-18
      • 1970-01-01
      • 1970-01-01
      • 2021-04-29
      • 2017-10-28
      • 2017-08-31
      • 2016-11-08
      • 2015-05-26
      相关资源
      最近更新 更多