You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Marcelo Vanzin (JIRA)" <ji...@apache.org> on 2018/04/19 23:36:00 UTC

[jira] [Created] (SPARK-24029) Set "reuse address" flag on listen sockets

Marcelo Vanzin created SPARK-24029:
--------------------------------------

             Summary: Set "reuse address" flag on listen sockets
                 Key: SPARK-24029
                 URL: https://issues.apache.org/jira/browse/SPARK-24029
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 2.4.0
            Reporter: Marcelo Vanzin


Setting the "reuse address" option allows a server socket to be bound to a port that may still have connections in the "close wait" state. Without it, for example, re-starting the history server could result in a BindException.

This is more important for things that have explicit ports, but doesn't hurt also in other places, especially since Spark allows most servers to bind to a port range by setting the root port + the retry count.



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

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