com.datastax.driver.core.exceptions.WriteTimeoutException: Cassandra timeout during write query at consistency QUORUM (5 replica were required but only 4 acknowledged the write)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via DataStax JIRA by Joaquin Casares, 1 year ago
Cassandra timeout during write query at consistency QUORUM (5 replica were required but only 4 acknowledged the write)
via DataStax JIRA by Joaquin Casares, 1 year ago
Cassandra timeout during write query at consistency QUORUM (5 replica were required but only 4 acknowledged the write)
via Stack Overflow by user2572801
, 1 year ago
Cassandra timeout during write query at consistency ONE (1 replica were required but only 0 acknowledged the write)
via Stack Overflow by Jacob
, 1 year ago
Cassandra timeout during write query at consistency ONE (1 replica were required but only 0 acknowledged the write)
via Google Groups by Jacob Rhoden, 2 years ago
Cassandra timeout during write query at consistency ONE (1 replica were required but only 0 acknowledged the write)
via Stack Overflow by Rakesh Singh Rana
, 1 year ago
Cassandra timeout during write query at consistency ONE (1 replica were required but only 0 acknowledged the write)
com.datastax.driver.core.exceptions.WriteTimeoutException: Cassandra timeout during write query at consistency QUORUM (5 replica were required but only 4 acknowledged the write)
at com.datastax.driver.core.exceptions.WriteTimeoutException.copy(WriteTimeoutException.java:51)
at com.datastax.driver.core.ResultSetFuture.extractCauseFromExecutionException(ResultSetFuture.java:234)
at com.datastax.driver.core.ResultSetFuture.getUninterruptibly(ResultSetFuture.java:165)
at com.datastax.cassandra.examples.durationtest.TestUtils.executeUntilPass(TestUtils.java:56)
at com.datastax.cassandra.examples.durationtest.Write.queryBuilder(Write.java:64)
at com.datastax.cassandra.examples.durationtest.Write.write(Write.java:39)
at com.datastax.cassandra.examples.durationtest.DurationTest$SuiteRunnable.run(DurationTest.java:107)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.