com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: intrinsitymetalsbanka/195.x.x.198:9042 (com.datastax.driver.core.exceptions.UnavailableException: Not enough replicas available for query at consistency LOCAL_ONE (1 required but only 0 alive)))

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Erol Guzoğlu
, 1 year ago
All host(s) tried for query failed (tried: intrinsitymetalsbanka/195.x.x.198:9042 (com.datastax.driver.core.exceptions.UnavailableException: Not enough replicas available for query at consistency LOCAL_ONE (1 required but only 0 alive)))
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: intrinsitymetalsbanka/195.x.x.198:9042 (com.datastax.driver.core.exceptions.UnavailableException: Not enough replicas available for query at consistency LOCAL_ONE (1 required but only 0 alive)))
at org.apache.cassandra.stress.Operation.error(Operation.java:138)
at org.apache.cassandra.stress.Operation.timeWithRetry(Operation.java:116)
at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:101)
at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:109)
at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:261)
at org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:321)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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