Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-5658

TracingStage frequently times out

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Not A Problem
    • None
    • None
    • Normal

    Description

      I am seeing frequent timeout errors when doing programmatic traces via trace_next_query()

      ERROR [TracingStage:1] 2013-06-18 19:10:20,669 CassandraDaemon.java (line 196) Exception in thread Thread[TracingStage:1,5,main]
      java.lang.RuntimeException: org.apache.cassandra.exceptions.WriteTimeoutException: Operation timed out - received only 0 responses.
              at com.google.common.base.Throwables.propagate(Throwables.java:160)
              at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:32)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:722)
      Caused by: org.apache.cassandra.exceptions.WriteTimeoutException: Operation timed out - received only 0 responses.
              at org.apache.cassandra.service.AbstractWriteResponseHandler.get(AbstractWriteResponseHandler.java:81)
              at org.apache.cassandra.service.StorageProxy.mutate(StorageProxy.java:454)
              at org.apache.cassandra.tracing.TraceState$1.runMayThrow(TraceState.java:100)
              at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
              ... 3 more
      

      Attached is the sample code which produced this error and the logs. The error occurs directly after the INSERT statement.

      Attachments

        1. 5658-logs.tar.gz
          8 kB
          Ryan McGuire
        2. trace_bug_cqlsh.py
          0.4 kB
          Ryan McGuire
        3. trace_bug.cql
          0.2 kB
          Ryan McGuire
        4. trace_bug.py
          0.8 kB
          Ryan McGuire

        Issue Links

          Activity

            People

              Unassigned Unassigned
              enigmacurry Ryan McGuire
              Ryan McGuire Ryan McGuire
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: