Ramiro Rioboo created CASSANDRA-13821:
-----------------------------------------

             Summary: A lot of ReadTimeoutException errors
                 Key: CASSANDRA-13821
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13821
             Project: Cassandra
          Issue Type: Bug
          Components: Core, CQL
         Environment: We have a Cassandra Cluster with 2 Datacenters:

Cassandra Version: 2.2.5

*+DC1 - OperationalDC:+*
3 nodes Virtual Server on VMWare. 
S.O.: Windows 2012 Server 64bits-native
vCPU 12 Cores @ 2.5Ghz
RAM: 16GB
HDD: 3,6 TB Virtual Drive

*+DC2 - AnalyticalDC:+*
3 nodes Virtual Server on VMWare. 
S.O.: Running on Windows 2012 Server 64bits-native
vCPU 12 Cores @ 2.5Ghz
RAM: 16GB
HDD: 3,6 TB Virtual Drive

            Reporter: Ramiro Rioboo
             Fix For: 2.2.5
         Attachments: CCGWEAPP03_cassandra.yaml, CCGWEAPP04_cassandra.yaml, 
CCGWEAPP05_cassandra.yaml, operational logs.part01.rar, operational 
logs.part02.rar, operational logs.part03.rar

Our application connects directly to OperationalDC via CQL.
During the daily operation we have a large number of WriteTimeoutException and 
ReadTimeoutException errors.

In the logs of Cassandra we can see that the read and write timeout errors are 
also recorded with the error:

_Java.lang.RuntimeException: java.lang.RuntimeException: 
org.apache.cassandra.exceptions.ReadTimeoutException: Operation timed out - 
received only 1 responses._

*+Log Detail, Application Level:+*
_22:54:22,945 [ERROR] AbstractEntityManager          - Insert object 
'Event{...}' error com.datastax.driver.core.exceptions.WriteTimeoutException: 
Cassandra timeout during write query at consistency LOCAL_QUORUM (2 replica 
were required but only 1 acknowledged the write)_

*+Log Detail, Cassandra Level:+*
_EBUG [SharedPool-Worker-6] 2017-08-24 08:36:40,114 StorageProxy.java:1893 - 
Range slice failure; received 0 of 1 responses for range 1 of 1 
java.lang.RuntimeException: java.lang.RuntimeException: 
org.apache.cassandra.exceptions.ReadTimeoutException: Operation timed out - 
received only 1 responses._

The timeout error occurs 2 seconds later because of the configuration in the 
yaml:+underlined text+
_# How long the coordinator should wait for writes to complete
write_request_timeout_in_ms: 2000_



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to