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

transient unit test failure in ProducerFailureHandlingTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.2.0
    • 0.8.2.0
    • core
    • None

    Description

      Saw the following transient failure.

      kafka.api.ProducerFailureHandlingTest > testWrongBrokerList PASSED

      kafka.api.ProducerFailureHandlingTest > testNoResponse FAILED
      kafka.common.KafkaException: Socket server failed to bind to localhost:49013: Address already in use.
      at kafka.network.Acceptor.openServerSocket(SocketServer.scala:195)
      at kafka.network.Acceptor.<init>(SocketServer.scala:141)
      at kafka.network.SocketServer.startup(SocketServer.scala:68)
      at kafka.server.KafkaServer.startup(KafkaServer.scala:84)
      at kafka.utils.TestUtils$.createServer(TestUtils.scala:120)
      at kafka.api.ProducerFailureHandlingTest.setUp(ProducerFailureHandlingTest.scala:80)

      Caused by:
      java.net.BindException: Address already in use
      at sun.nio.ch.Net.bind(Native Method)
      at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
      at kafka.network.Acceptor.openServerSocket(SocketServer.scala:191)
      ... 5 more

      Attachments

        1. KAFKA-1418.patch
          4 kB
          Jun Rao

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: