使用python cassandra驱动程序在Cassandra中写入超时错误

时间:2018-10-03 13:04:24

标签: python apache cassandra cassandra-python-driver

我有一个单节点集群,执行以下查询时,出现以下错误,

DELETE FROM issuetable WHERE "partitionId"='1';

**

  • 错误

**:

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': 'QUORUM'}

根据datastax文档(https://datastax.github.io/python-driver/api/cassandra.html),他们提到在write_request_timeout_in_ms中增加cassandra.yaml

问题

1)为什么会出现此错误?根据我的表(issuetable),该分区下只有84个条目。

2)这应该在客户端还是服务器端解决?

谢谢,
哈里

0 个答案:

没有答案