Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1533

transient unit test failure in ProducerFailureHandlingTest

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.2.0
    • Fix Version/s: 0.8.2.0
    • Component/s: core
    • Labels:
      None

      Description

      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)

        Attachments

        1. kafka.threads
          64 kB
          David Corley
        2. KAFKA-1533_2014-07-21_15:45:58.patch
          19 kB
          Guozhang Wang
        3. KAFKA-1533.patch
          19 kB
          Guozhang Wang
        4. KAFKA-1533.patch
          18 kB
          Guozhang Wang
        5. KAFKA-1533.patch
          18 kB
          Guozhang Wang
        6. stack.out
          64 kB
          Jun Rao

          Activity

            People

            • Assignee:
              guozhang Guozhang Wang
              Reporter:
              junrao Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: