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

Google Groups | vivek sharma | 2 weeks 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

    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

    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
  3. 0

    Kafka-streams state dir io error

    Stack Overflow | 8 months ago | Rahul Shukla
    org.apache.kafka.streams.errors.ProcessorStateException: Error while executing flush from store agg
  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.lang.NullPointerException

      No message provided

      at org.rocksdb.RocksDB.put()
    2. org.rocksdb
      RocksDB.put
      1. org.rocksdb.RocksDB.put(RocksDB.java:432)
      1 frame
    3. org.apache.kafka
      ConsumerNetworkClient$RequestFutureCompletionHandler.onComplete
      1. org.apache.kafka.streams.state.internals.RocksDBStore.putInternal(RocksDBStore.java:298)
      2. org.apache.kafka.streams.state.internals.RocksDBStore.access$200(RocksDBStore.java:62)
      3. org.apache.kafka.streams.state.internals.RocksDBStore$3.restore(RocksDBStore.java:205)
      4. org.apache.kafka.streams.processor.internals.ProcessorStateManager.restoreActiveState(ProcessorStateManager.java:245)
      5. org.apache.kafka.streams.processor.internals.ProcessorStateManager.register(ProcessorStateManager.java:210)
      6. org.apache.kafka.streams.processor.internals.ProcessorContextImpl.register(ProcessorContextImpl.java:116)
      7. org.apache.kafka.streams.state.internals.RocksDBStore.init(RocksDBStore.java:201)
      8. org.apache.kafka.streams.state.internals.MeteredKeyValueStore.init(MeteredKeyValueStore.java:85)
      9. org.apache.kafka.streams.processor.internals.AbstractTask.initializeStateStores(AbstractTask.java:81)
      10. org.apache.kafka.streams.processor.internals.StreamTask.<init>(StreamTask.java:115)
      11. org.apache.kafka.streams.processor.internals.StreamThread.createStreamTask(StreamThread.java:550)
      12. org.apache.kafka.streams.processor.internals.StreamThread.addStreamTasks(StreamThread.java:577)
      13. org.apache.kafka.streams.processor.internals.StreamThread.access$000(StreamThread.java:68)
      14. org.apache.kafka.streams.processor.internals.StreamThread$1.onPartitionsAssigned(StreamThread.java:123)
      15. org.apache.kafka.clients.consumer.internals.ConsumerCoordinator.onJoinComplete(ConsumerCoordinator.java:222)
      16. org.apache.kafka.clients.consumer.internals.AbstractCoordinator$1.onSuccess(AbstractCoordinator.java:232)
      17. org.apache.kafka.clients.consumer.internals.AbstractCoordinator$1.onSuccess(AbstractCoordinator.java:227)
      18. org.apache.kafka.clients.consumer.internals.RequestFuture.fireSuccess(RequestFuture.java:133)
      19. org.apache.kafka.clients.consumer.internals.RequestFuture.complete(RequestFuture.java:107)
      20. org.apache.kafka.clients.consumer.internals.RequestFuture$2.onSuccess(RequestFuture.java:182)
      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.AbstractCoordinator$SyncGroupResponseHandler.handle(AbstractCoordinator.java:436)
      24. org.apache.kafka.clients.consumer.internals.AbstractCoordinator$SyncGroupResponseHandler.handle(AbstractCoordinator.java:422)
      25. org.apache.kafka.clients.consumer.internals.AbstractCoordinator$CoordinatorResponseHandler.onSuccess(AbstractCoordinator.java:679)
      26. org.apache.kafka.clients.consumer.internals.AbstractCoordinator$CoordinatorResponseHandler.onSuccess(AbstractCoordinator.java:658)
      27. org.apache.kafka.clients.consumer.internals.RequestFuture$1.onSuccess(RequestFuture.java:167)
      28. org.apache.kafka.clients.consumer.internals.RequestFuture.fireSuccess(RequestFuture.java:133)
      29. org.apache.kafka.clients.consumer.internals.RequestFuture.complete(RequestFuture.java:107)
      30. org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient$RequestFutureCompletionHandler.onComplete(ConsumerNetworkClient.java:426)
      30 frames
    4. Apache Kafka
      NetworkClient.poll
      1. org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:278)
      1 frame
    5. 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
    6. 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
    7. 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