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

MetadataeTest hangs

    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

      Saw the following stacktrace.

      "Thread-47" prio=10 tid=0x00007fb5b00a5000 nid=0x25de in Object.wait() [0x00007fb5af9f8000]
      java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)

      • waiting on <0x00000006b0925e40> (a org.apache.kafka.clients.producer.internals.Metadata)
        at org.apache.kafka.clients.producer.internals.Metadata.awaitUpdate(Metadata.java:107)
      • locked <0x00000006b0925e40> (a org.apache.kafka.clients.producer.internals.Metadata)
        at org.apache.kafka.clients.producer.MetadataTest$1.run(MetadataTest.java:57)

      "Thread-46" prio=10 tid=0x00007fb5b00a3800 nid=0x25dd in Object.wait() [0x00007fb5afbfa000]
      java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)

      • waiting on <0x00000006b0925e40> (a org.apache.kafka.clients.producer.internals.Metadata)
        at org.apache.kafka.clients.producer.internals.Metadata.awaitUpdate(Metadata.java:107)
      • locked <0x00000006b0925e40> (a org.apache.kafka.clients.producer.internals.Metadata)
        at org.apache.kafka.clients.producer.MetadataTest$1.run(MetadataTest.java:57)

      "Test worker" prio=10 tid=0x00007fb610891000 nid=0x25b1 in Object.wait() [0x00007fb5d4a5f000]
      java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)

      • waiting on <0x00000006b0926700> (a org.apache.kafka.clients.producer.MetadataTest$1)
        at java.lang.Thread.join(Thread.java:1186)
      • locked <0x00000006b0926700> (a org.apache.kafka.clients.producer.MetadataTest$1)
        at java.lang.Thread.join(Thread.java:1239)
        at org.apache.kafka.clients.producer.MetadataTest.testMetadata(MetadataTest.java:46)

        Attachments

        1. KAFKA-1571.patch
          2 kB
          Jun Rao

          Activity

            People

            • Assignee:
              junrao Jun Rao
              Reporter:
              junrao Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: