Hi there,

Im running a java process on a 4 node cassandra 3.9 cluster on EC2 (instance 
type t2.2xlarge), the process running separately on each of the nodes (i.e. 4 
running JVMs).
The process is just doing reads from Cassandra and building a SOLR index and 
using the java driver with consistency level LOCAL_ONE.
However, the following exception is through:

com.datastax.driver.core.exceptions.TransportException: [/10.0.0.2:9042] 
Connection has been closed
        at 
com.datastax.driver.core.exceptions.TransportException.copy(TransportException.java:38)
        at 
com.datastax.driver.core.exceptions.TransportException.copy(TransportException.java:24)
        at 
com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:37)
        at 
com.datastax.driver.core.ArrayBackedResultSet$MultiPage.prepareNextRow(ArrayBackedResultSet.java:313)
        at 
com.datastax.driver.core.ArrayBackedResultSet$MultiPage.isExhausted(ArrayBackedResultSet.java:269)
        at 
com.datastax.driver.core.ArrayBackedResultSet$1.hasNext(ArrayBackedResultSet.java:143)

where 10.0.0.2 is not the local machine. So my questions:

- Should this happen when Im using consistency level LOCAL_ONE and just doing 
reads ?
- Does this suggest non-local reads are happening ?

Many thanks for any help/ideas.

Frank


Reply via email to