Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9734

Streams IllegalStateException in trunk during rebalance

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: streams
    • Labels:
      None

      Description

      I have observed the following exception to kill a thread in the current trunk of Streams:

      [2020-03-19 07:04:35,206] ERROR [stream-soak-test-e60443b4-aa2d-4107-abf7-ce90407cb70e-StreamThread-1] stream-thread [stream-soak-test-e60443b4-aa    2d-4107-abf7-ce90407cb70e-StreamThread-1] Encountered the following exception during processing and the thread is going to shut down:  (org.apache.kafka.streams.processor.internals.StreamThread)
      java.lang.IllegalStateException: The changelog reader is not restoring active tasks while trying to transit to update standby tasks: {}
              at org.apache.kafka.streams.processor.internals.StoreChangelogReader.transitToUpdateStandby(StoreChangelogReader.java:303)                                                                                                         
              at org.apache.kafka.streams.processor.internals.StreamThread.runOnce(StreamThread.java:582)
              at org.apache.kafka.streams.processor.internals.StreamThread.runLoop(StreamThread.java:498)
              at org.apache.kafka.streams.processor.internals.StreamThread.run(StreamThread.java:472)

      Judging from the fact that the standby tasks are reported as an empty set, I think this is just a missed case in the task manager. PR to follow shortly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vvcephei John Roesler
                Reporter:
                vvcephei John Roesler
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: