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)))

Stack Overflow | Erol Guzoğlu | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    UnavailableException: Not enough replicas available for query at consistency LOCAL_ONE Cassandra Stress

    Stack Overflow | 7 months ago | Erol Guzoğlu
    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)))

    Root Cause Analysis

    1. 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()
    2. org.apache.cassandra
      StressAction$Consumer.run
      1. org.apache.cassandra.stress.Operation.error(Operation.java:138)
      2. org.apache.cassandra.stress.Operation.timeWithRetry(Operation.java:116)
      3. org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:101)
      4. org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:109)
      5. org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:261)
      6. org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:321)
      6 frames