Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
0.9.0.1
-
None
-
None
-
None
Description
we are seeing an issue were we intermittently (every couple of hours) get and error with certain topics. They stop working and producers give a LeaderNotFoundException.
When we then try to use kafka-topics.sh to describe the topic we get the error below.
Error while executing topic command : next on empty iterator
{{
[2016-03-15 17:30:26,231] ERROR java.util.NoSuchElementException: next on empty iterator
at scala.collection.Iterator$$anon$2.next(Iterator.scala:39)
at scala.collection.Iterator$$anon$2.next(Iterator.scala:37)
at scala.collection.IterableLike$class.head(IterableLike.scala:91)
at scala.collection.AbstractIterable.head(Iterable.scala:54)
at kafka.admin.TopicCommand$$anonfun$describeTopic$1.apply(TopicCommand.scala:198)
at kafka.admin.TopicCommand$$anonfun$describeTopic$1.apply(TopicCommand.scala:188)
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
at kafka.admin.TopicCommand$.describeTopic(TopicCommand.scala:188)
at kafka.admin.TopicCommand$.main(TopicCommand.scala:66)
at kafka.admin.TopicCommand.main(TopicCommand.scala)
(kafka.admin.TopicCommand$)
}}
if we delete the topic, then it will start to work again for a while
We can't see anything obvious in the logs but are happy to provide if needed
Attachments
Issue Links
- links to