org.apache.cassandra.exceptions.UnavailableException: Cannot achieve consistency level LOCAL_ONE

GitHub | ddorian | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 38#233288027

    GitHub | 7 months ago | ddorian
    org.apache.cassandra.exceptions.UnavailableException: Cannot achieve consistency level LOCAL_ONE

    Root Cause Analysis

    1. org.apache.cassandra.exceptions.UnavailableException

      Cannot achieve consistency level LOCAL_ONE

      at org.apache.cassandra.db.ConsistencyLevel.assureSufficientLiveNodes()
    2. org.apache.cassandra
      QueryProcessor.process
      1. org.apache.cassandra.db.ConsistencyLevel.assureSufficientLiveNodes(ConsistencyLevel.java:257)[elassandra-2.1.1-15.jar:na]
      2. org.apache.cassandra.service.AbstractWriteResponseHandler.assureSufficientLiveNodes(AbstractWriteResponseHandler.java:146)[elassandra-2.1.1-15.jar:na]
      3. org.apache.cassandra.service.StorageProxy.performWrite(StorageProxy.java:839)[elassandra-2.1.1-15.jar:na]
      4. org.apache.cassandra.service.StorageProxy.mutate(StorageProxy.java:578)[elassandra-2.1.1-15.jar:na]
      5. org.apache.cassandra.service.StorageProxy.mutateWithTriggers(StorageProxy.java:671)[elassandra-2.1.1-15.jar:na]
      6. org.apache.cassandra.cql3.statements.ModificationStatement.executeWithoutCondition(ModificationStatement.java:524)[elassandra-2.1.1-15.jar:na]
      7. org.apache.cassandra.cql3.statements.ModificationStatement.execute(ModificationStatement.java:510)[elassandra-2.1.1-15.jar:na]
      8. org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:226)[elassandra-2.1.1-15.jar:na]
      9. org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:257)[elassandra-2.1.1-15.jar:na]
      9 frames
    3. org.elasticsearch.cassandra
      InternalCassandraClusterService.insertDocument
      1. org.elasticsearch.cassandra.cluster.InternalCassandraClusterService.process(InternalCassandraClusterService.java:375)[elassandra-2.1.1-15.jar:na]
      2. org.elasticsearch.cassandra.cluster.InternalCassandraClusterService.process(InternalCassandraClusterService.java:359)[elassandra-2.1.1-15.jar:na]
      3. org.elasticsearch.cassandra.cluster.InternalCassandraClusterService.insertRow(InternalCassandraClusterService.java:1689)[elassandra-2.1.1-15.jar:na]
      4. org.elasticsearch.cassandra.cluster.InternalCassandraClusterService.insertDocument(InternalCassandraClusterService.java:1642)[elassandra-2.1.1-15.jar:na]
      4 frames
    4. ElasticSearch
      AbstractRunnable.run
      1. org.elasticsearch.action.index.TransportXIndexAction.shardOperationOnPrimary(TransportXIndexAction.java:92)[elassandra-2.1.1-15.jar:na]
      2. org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryPhase.performOnPrimary(TransportReplicationAction.java:581)[elassandra-2.1.1-15.jar:na]
      3. org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryPhase$1.doRun(TransportReplicationAction.java:452)[elassandra-2.1.1-15.jar:na]
      4. org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)[elassandra-2.1.1-15.jar:na]
      4 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_91]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_91]
      3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_91]
      3 frames