Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

mishra.anurag643_153409 avatar image
mishra.anurag643_153409 asked ·

Why is my Spark job throwing "Cassandra failure during read query at consistency LOCAL_ONE"?

I am reading table from cassandra from pyspark program . I am facing below error :

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

what is reason for above error ? why this is happening ?

spark-cassandra-connector
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

The most common cause of this failure is when nodes are unresponsive because they are overloaded.

You will need to review the Cassandra logs for clues. For the record, I'm not asking for a copy of the logs -- I'm just providing you ideas on how you can troubleshoot the problem. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.