org.apache.spark.SparkException: Job aborted due to stage failure: Task 2 in stage 1.0 failed 4 times, most recent failure: Lost task 2.3 in stage 1.0 (TID 29, 192.168.1.169): java.io.IOException: Exception during execution of SELECT "document_id", "source_name" FROM "document_spark"."documents" WHERE token("document_id") <= ? ALLOW FILTERING: Cassandra failure during read query at consistency LOCAL_ONE (1 responses were required but only 0 replica responded, 1 failed)

Stack Overflow | M.Almokadem | 5 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

    Spark failed due to Cassandra failure during read query at consistency LOCAL_ONE (1 responses were required but only 0 replica responded, 1 failed)

    Stack Overflow | 5 months ago | M.Almokadem
    org.apache.spark.SparkException: Job aborted due to stage failure: Task 2 in stage 1.0 failed 4 times, most recent failure: Lost task 2.3 in stage 1.0 (TID 29, 192.168.1.169): java.io.IOException: Exception during execution of SELECT "document_id", "source_name" FROM "document_spark"."documents" WHERE token("document_id") <= ? ALLOW FILTERING: Cassandra failure during read query at consistency LOCAL_ONE (1 responses were required but only 0 replica responded, 1 failed)
  2. 0

    Cassandra read calls failing with com.datastax.driver.core.exceptions.ReadFailureException

    Stack Overflow | 6 months ago | Pushpa
    java.util.concurrent.ExecutionException: com.datastax.driver.core.exceptions.ReadFailureException: Cassandra failure during read query at consistency LOCAL_ONE (1 responses were required but only 0 replica responded, 1 failed)
  3. 0

    Cassandra distinct partitionkey read fails with com.datastax.driver.core.exceptions.ReadFailureException

    Google Groups | 6 months ago | Penukonda, Pushpa
    java.util.concurrent.ExecutionException: com.datastax.driver.core.exceptions.ReadFailureException: Cassandra failure during read query at consistency LOCAL_ONE (1 responses were required but only 0 replica responded, 1 failed)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    failing drop table migration

    GitHub | 5 months ago | rintcius
    com.datastax.driver.core.exceptions.ReadFailureException: Cassandra failure during read query at consistency ONE (1 responses were required but only 0 replica responded, 1 failed)

    Root Cause Analysis

    1. com.datastax.driver.core.exceptions.ReadFailureException

      Cassandra failure during read query at consistency LOCAL_ONE (1 responses were required but only 0 replica responded, 1 failed)

      at com.datastax.driver.core.Responses$Error$1.decode()
    2. DataStax Java Driver for Apache Cassandra - Core
      Message$ProtocolDecoder.decode
      1. com.datastax.driver.core.Responses$Error$1.decode(Responses.java:76)
      2. com.datastax.driver.core.Responses$Error$1.decode(Responses.java:37)
      3. com.datastax.driver.core.Message$ProtocolDecoder.decode(Message.java:277)
      4. com.datastax.driver.core.Message$ProtocolDecoder.decode(Message.java:257)
      4 frames
    3. Netty
      SingleThreadEventExecutor$2.run
      1. io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89)
      2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:307)
      3. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:293)
      4. io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:276)
      5. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:263)
      6. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:307)
      7. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:293)
      8. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:840)
      9. io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:830)
      10. io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:348)
      11. io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:264)
      12. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
      12 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame