[
https://issues.apache.org/jira/browse/KAFKA-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14187138#comment-14187138
]
Renato Javier MarroquĂn Mogrovejo commented on KAFKA-1638:
----------------------------------------------------------
Hi,
I have been trying to reproduce this test failure but I haven't been able to do
so. I am running the test from inside Intellij, maybe that is why? Do you have
a way to make the test failure reproducible? I would be happy to look at it.
Thanks!
> transient unit test failure UncleanLeaderElectionTest
> -----------------------------------------------------
>
> Key: KAFKA-1638
> URL: https://issues.apache.org/jira/browse/KAFKA-1638
> Project: Kafka
> Issue Type: Bug
> Components: core
> Affects Versions: 0.8.2
> Reporter: Jun Rao
> Labels: newbie++
>
> Saw the following transient unit test failure.
> kafka.integration.UncleanLeaderElectionTest >
> testUncleanLeaderElectionEnabled FAILED
> java.lang.RuntimeException: A broker is already registered on the path
> /brokers/ids/1. This probably indicates that you either have configured a
> brokerid that is already in use, or else you have shutdown this broker and
> restarted it faster than the zookeeper timeout so it appears to be
> re-registering.
> at kafka.utils.ZkUtils$.registerBrokerInZk(ZkUtils.scala:174)
> at kafka.server.KafkaHealthcheck.register(KafkaHealthcheck.scala:63)
> at kafka.server.KafkaHealthcheck.startup(KafkaHealthcheck.scala:45)
> at kafka.server.KafkaServer.startup(KafkaServer.scala:121)
> at
> kafka.integration.UncleanLeaderElectionTest$$anonfun$verifyUncleanLeaderElectionEnabled$8.apply(UncleanLeaderElectionTest.scala:187)
> at
> kafka.integration.UncleanLeaderElectionTest$$anonfun$verifyUncleanLeaderElectionEnabled$8.apply(UncleanLeaderElectionTest.scala:187)
> at
> scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
> at
> scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
> at scala.collection.immutable.List.foreach(List.scala:318)
> at
> scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
> at scala.collection.AbstractTraversable.map(Traversable.scala:105)
> at
> kafka.integration.UncleanLeaderElectionTest.verifyUncleanLeaderElectionEnabled(UncleanLeaderElectionTest.scala:187)
> at
> kafka.integration.UncleanLeaderElectionTest.testUncleanLeaderElectionEnabled(UncleanLeaderElectionTest.scala:106)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)