当我尝试使用下面的查询在Cassandra中插入数据时,我得到了下面提到的错误
cqlsh:assign> insert into tblFiles1(rec_no,clientid,contenttype,datafiles,filename) values(1,2,'gd','dgfsdg','aww');
WriteTimeout: code=1100[协调器节点超时等待]message="操作超时-仅收到。info={'received_responses': 0, 'required_responses': 1,"一致性":"一"}
My Version of Cassandra
and DSE
:[cqlsh 5.0.1 | Cassandra 2.1.5.469 | DSE 4.7.0 | CQL spec 3.2.0 |原生协议v3]
将Cassandra配置文件( Cassandra .yaml)中的write_request_timeout_in_ms
Timeout设置为
write_request_timeout_in_ms: 20000
并重新启动服务器