[ 
https://issues.apache.org/jira/browse/SPARK-13810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15190437#comment-15190437
 ] 

Apache Spark commented on SPARK-13810:
--------------------------------------

User 'bjornjon' has created a pull request for this issue:
https://github.com/apache/spark/pull/11644

> 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
>              Labels: supportability
>
> 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