[ https://issues.apache.org/jira/browse/KAFKA-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14076484#comment-14076484 ]
Jun Rao commented on KAFKA-1533: -------------------------------- This seems to be introduced by a bug in KAFKA-1542. I just committed a fix. After that, I don't see the unit test hanging issue any more. David, Could you try the test again? > transient unit test failure in ProducerFailureHandlingTest > ---------------------------------------------------------- > > Key: KAFKA-1533 > URL: https://issues.apache.org/jira/browse/KAFKA-1533 > Project: Kafka > Issue Type: Bug > Components: core > Affects Versions: 0.8.2 > Reporter: Jun Rao > Assignee: Guozhang Wang > Fix For: 0.8.2 > > Attachments: KAFKA-1533.patch, KAFKA-1533.patch, KAFKA-1533.patch, > KAFKA-1533_2014-07-21_15:45:58.patch, kafka.threads, stack.out > > > Occasionally, saw the test hang on tear down. The following is the stack > trace. > "Test worker" prio=5 tid=7f9246956000 nid=0x10e078000 in Object.wait() > [10e075000] > java.lang.Thread.State: WAITING (on object monitor) > at java.lang.Object.wait(Native Method) > - waiting on <7f4e69578> (a org.apache.zookeeper.ClientCnxn$Packet) > at java.lang.Object.wait(Object.java:485) > at org.apache.zookeeper.ClientCnxn.submitRequest(ClientCnxn.java:1344) > - locked <7f4e69578> (a org.apache.zookeeper.ClientCnxn$Packet) > at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:732) > at org.I0Itec.zkclient.ZkConnection.delete(ZkConnection.java:91) > at org.I0Itec.zkclient.ZkClient$8.call(ZkClient.java:720) > at org.I0Itec.zkclient.ZkClient.retryUntilConnected(ZkClient.java:675) > at org.I0Itec.zkclient.ZkClient.delete(ZkClient.java:716) > at kafka.utils.ZkUtils$.deletePath(ZkUtils.scala:416) > at kafka.utils.ZkUtils$.deregisterBrokerInZk(ZkUtils.scala:184) > at kafka.server.KafkaHealthcheck.shutdown(KafkaHealthcheck.scala:50) > at > kafka.server.KafkaServer$$anonfun$shutdown$2.apply$mcV$sp(KafkaServer.scala:243) > at kafka.utils.Utils$.swallow(Utils.scala:172) > at kafka.utils.Logging$class.swallowWarn(Logging.scala:92) > at kafka.utils.Utils$.swallowWarn(Utils.scala:45) > at kafka.utils.Logging$class.swallow(Logging.scala:94) > at kafka.utils.Utils$.swallow(Utils.scala:45) > at kafka.server.KafkaServer.shutdown(KafkaServer.scala:243) > at > kafka.api.ProducerFailureHandlingTest.tearDown(ProducerFailureHandlingTest.scala:90) -- This message was sent by Atlassian JIRA (v6.2#6252)