Bjorn Jonsson created SPARK-13810:
-------------------------------------

             Summary: Add Port Configuration Suggestions on Bind Exceptions
                 Key: SPARK-13810
                 URL: https://issues.apache.org/jira/browse/SPARK-13810
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
            Reporter: Bjorn Jonsson
            Priority: Minor


When a java.net.BindException is thrown in startServiceOnPort in Utils.scala, 
it displays the following message, irrespective of the port being used:

java.net.BindException: Address already in use: Service '$serviceName' failed 
after 16 retries!

For supportability, it would be useful to add port configuration suggestions 
for the related port being used. For example, if the Spark UI exceeds 
spark.port.maxRetries, users should see:

java.net.BindException: Address already in use: Service 'SparkUI' failed after 
16 retries! Consider setting spark.ui.port to an available port or increasing 
spark.port.maxRetries.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to