com.datastax.driver.core.exceptions.ReadTimeoutException: Cassandra timeout during read query at consistency ONE (1 responses were required but only 0 replica responded)

Stack Overflow | Vaibhav Shah | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Read More than millions record in cassandra

    Stack Overflow | 8 months ago | Vaibhav Shah
    com.datastax.driver.core.exceptions.ReadTimeoutException: Cassandra timeout during read query at consistency ONE (1 responses were required but only 0 replica responded)

    Root Cause Analysis

    1. com.datastax.driver.core.exceptions.ReadTimeoutException

      Cassandra timeout during read query at consistency ONE (1 responses were required but only 0 replica responded)

      at com.datastax.driver.core.exceptions.ReadTimeoutException.copy()
    2. DataStax Java Driver for Apache Cassandra - Core
      Connection$Dispatcher.messageReceived
      1. com.datastax.driver.core.exceptions.ReadTimeoutException.copy(ReadTimeoutException.java:69)
      2. com.datastax.driver.core.Responses$Error.asException(Responses.java:94)
      3. com.datastax.driver.core.DefaultResultSetFuture.onSet(DefaultResultSetFuture.java:108)
      4. com.datastax.driver.core.RequestHandler.setFinalResult(RequestHandler.java:235)
      5. com.datastax.driver.core.RequestHandler.onSet(RequestHandler.java:379)
      6. com.datastax.driver.core.Connection$Dispatcher.messageReceived(Connection.java:584)
      6 frames
    3. Netty
      DefaultChannelPipeline.sendUpstream
      1. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
      2. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
      3. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
      4. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
      5. org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:70)
      6. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
      7. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
      8. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
      9. org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)
      10. org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443)
      11. org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)
      12. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
      13. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
      13 frames