You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2019/05/06 16:31:00 UTC

[jira] [Created] (IMPALA-8501) RpcMgrTest.SlowCallback and RpcMgrTest.AsyncCall sometimes have port conflicts

Tim Armstrong created IMPALA-8501:
-------------------------------------

             Summary: RpcMgrTest.SlowCallback and RpcMgrTest.AsyncCall sometimes have port conflicts
                 Key: IMPALA-8501
                 URL: https://issues.apache.org/jira/browse/IMPALA-8501
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
            Reporter: Tim Armstrong
            Assignee: Michael Ho


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

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.

{noformat}
static int32_t SERVICE_PORT = FindUnusedEphemeralPort();
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org