You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Bjorn Jonsson (JIRA)" <ji...@apache.org> on 2016/03/11 04:51:40 UTC
[jira] [Created] (SPARK-13810) Add Port Configuration Suggestions
on Bind Exceptions
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org