简体   繁体   中英

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

[;[enter image description here][1]][1]Cassandra timeout during read query at consistency LOCAL_QUORUM (2 responses were required but only 0 replica responded). nested exception is com.datastax.driver.core.exceptions:ReadTimeoutException: Cassandra timeout during read query at consistency LOCAL_QUORUM (2 responses were required but only

I am getting the above error for while executing a query on one of the Cassandra table of my application? The table has 3 columns promo,store and upc. promo is the type = PrimaryKeyType.PARTITIONED & both store and upc are type = PrimaryKeyType.CLUSTERED. I am getting this for only one of the promo. How can I resolve this?

The exception means that the nodes in your cluster were unresponsive. You need to investigate why. Start by reviewing the system.log and debug.log on the nodes.

In a lot of cases, this is caused by nodes being overloaded and GC pauses. Cheers!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM