org.apache.kafka.streams.errors.StreamsException: Failed to rebalance

Google Groups | vivek sharma | 2 weeks ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    stream shut down due to no locks for state store

    Google Groups | 3 months ago | Shannon Ma
    org.apache.kafka.streams.errors.ProcessorStateException: Error opening store txnwindowstore18000000-201611251500 at location /tmp/kafka-streams/rt_txn_dup_w/1_0/txnwindowstore18000000/txnwindowstore18000000-201611251500
  2. 0

    How to add a custom StateStore to the Kafka Streams DSL processor?

    Stack Overflow | 4 months ago | Samy
    java.lang.NullPointerException
  3. 0

    Aggregate Java objects in a list with Kafka Streams DSL windows

    Stack Overflow | 2 months ago | Raf
    java.lang.NoSuchMethodError: org.rocksdb.RocksIterator.close()V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Failed to lock the state directory: /tmp/kafka-streams/Kafka Streams Spike/0_0

      at org.apache.kafka.streams.processor.internals.ProcessorStateManager.<init>()
    2. org.apache.kafka
      ConsumerNetworkClient$RequestFutureCompletionHandler.onComplete
      1. org.apache.kafka.streams.processor.internals.ProcessorStateManager.<init>(ProcessorStateManager.java:95)
      2. org.apache.kafka.streams.processor.internals.AbstractTask.<init>(AbstractTask.java:69)
      3. org.apache.kafka.streams.processor.internals.StreamTask.<init>(StreamTask.java:86)
      4. org.apache.kafka.streams.processor.internals.StreamThread.createStreamTask(StreamThread.java:550)
      5. org.apache.kafka.streams.processor.internals.StreamThread.addStreamTasks(StreamThread.java:577)
      6. org.apache.kafka.streams.processor.internals.StreamThread.access$000(StreamThread.java:68)
      7. org.apache.kafka.streams.processor.internals.StreamThread$1.onPartitionsAssigned(StreamThread.java:123)
      8. org.apache.kafka.clients.consumer.internals.ConsumerCoordinator.onJoinComplete(ConsumerCoordinator.java:222)
      9. org.apache.kafka.clients.consumer.internals.AbstractCoordinator$1.onSuccess(AbstractCoordinator.java:232)
      10. org.apache.kafka.clients.consumer.internals.AbstractCoordinator$1.onSuccess(AbstractCoordinator.java:227)
      11. org.apache.kafka.clients.consumer.internals.RequestFuture.fireSuccess(RequestFuture.java:133)
      12. org.apache.kafka.clients.consumer.internals.RequestFuture.complete(RequestFuture.java:107)
      13. org.apache.kafka.clients.consumer.internals.RequestFuture$2.onSuccess(RequestFuture.java:182)
      14. org.apache.kafka.clients.consumer.internals.RequestFuture.fireSuccess(RequestFuture.java:133)
      15. org.apache.kafka.clients.consumer.internals.RequestFuture.complete(RequestFuture.java:107)
      16. org.apache.kafka.clients.consumer.internals.AbstractCoordinator$SyncGroupResponseHandler.handle(AbstractCoordinator.java:436)
      17. org.apache.kafka.clients.consumer.internals.AbstractCoordinator$SyncGroupResponseHandler.handle(AbstractCoordinator.java:422)
      18. org.apache.kafka.clients.consumer.internals.AbstractCoordinator$CoordinatorResponseHandler.onSuccess(AbstractCoordinator.java:679)
      19. org.apache.kafka.clients.consumer.internals.AbstractCoordinator$CoordinatorResponseHandler.onSuccess(AbstractCoordinator.java:658)
      20. org.apache.kafka.clients.consumer.internals.RequestFuture$1.onSuccess(RequestFuture.java:167)
      21. org.apache.kafka.clients.consumer.internals.RequestFuture.fireSuccess(RequestFuture.java:133)
      22. org.apache.kafka.clients.consumer.internals.RequestFuture.complete(RequestFuture.java:107)
      23. org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient$RequestFutureCompletionHandler.onComplete(ConsumerNetworkClient.java:426)
      23 frames
    3. Apache Kafka
      NetworkClient.poll
      1. org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:278)
      1 frame
    4. org.apache.kafka
      ConsumerCoordinator.ensurePartitionAssignment
      1. org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.clientPoll(ConsumerNetworkClient.java:360)
      2. org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:224)
      3. org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:192)
      4. org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:163)
      5. org.apache.kafka.clients.consumer.internals.AbstractCoordinator.ensureActiveGroup(AbstractCoordinator.java:243)
      6. org.apache.kafka.clients.consumer.internals.ConsumerCoordinator.ensurePartitionAssignment(ConsumerCoordinator.java:345)
      6 frames
    5. Apache Kafka
      KafkaConsumer.poll
      1. org.apache.kafka.clients.consumer.KafkaConsumer.pollOnce(KafkaConsumer.java:977)
      2. org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:937)
      2 frames
    6. org.apache.kafka
      StreamThread.run
      1. org.apache.kafka.streams.processor.internals.StreamThread.runLoop(StreamThread.java:295)
      2. org.apache.kafka.streams.processor.internals.StreamThread.run(StreamThread.java:218)
      2 frames