Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8501

RpcMgrTest.SlowCallback and RpcMgrTest.AsyncCall sometimes have port conflicts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • Impala 3.4.0
    • Backend
    • ghx-label-3

    Description

      Failed to add acceptor pool: Network error: error binding socket to 127.0.0.1:55500: Address already in use (error 98)
      

      This is running on centos 7.

      It looks like the ephemeral port is searched-for during the startup of the test binary and only used later, so these tests have a bigger race window than others. It would be good to defer finding the ephemeral port until it is about to be used.

      static int32_t SERVICE_PORT = FindUnusedEphemeralPort();
      

      Attachments

        Issue Links

          Activity

            People

              twmarshall Thomas Tauber-Marshall
              tarmstrong Tim Armstrong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: