协调器节点在插入数据时等待 Cassandra Datastax 中的副本节点超时 [英] Coordinator node timed out waiting for replica nodes in Cassandra Datastax while insert data

查看:19
本文介绍了协调器节点在插入数据时等待 Cassandra Datastax 中的副本节点超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试使用以下查询在 Cassandra 中插入数据时,出现以下错误

cqlsh:assign>插入到 tblFiles1(rec_no,clientid,contenttype,datafiles,filename) values(1,2,'gd','dgfsdg','aww');

<块引用>

WriteTimeout: code=1100 [Coordinator 节点超时等待副本节点的响应] message="操作超时 - 仅收到0 个响应." info={'received_responses': 0, 'required_responses': 1,'一致性':'ONE'}

我的 CassandraDSE 版本:[cqlsh 5.0.1 |卡桑德拉 2.1.5.469 |DSE 4.7.0 |CQL 规范 3.2.0 |本机协议 l v3]

解决方案

将 Cassandra 配置文件 (cassandra.yaml) 中的 write_request_timeout_in_ms 超时增加为

write_request_timeout_in_ms: 20000

并重启你的服务器

When I try to Insert data in Cassandra using the below query I am getting the below mentioned error

cqlsh:assign> insert into tblFiles1(rec_no,clientid,contenttype,datafiles,filename) values(1,2,'gd','dgfsdg','aww');

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

My Version of Cassandra and DSE: [cqlsh 5.0.1 | Cassandra 2.1.5.469 | DSE 4.7.0 | CQL spec 3.2.0 | Native protoco l v3]

解决方案

Increase the write_request_timeout_in_ms Timeout in the Cassandra Config file (cassandra.yaml) as

write_request_timeout_in_ms: 20000

and restart your Server

这篇关于协调器节点在插入数据时等待 Cassandra Datastax 中的副本节点超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆