You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/03/13 11:19:33 UTC

[jira] [Resolved] (SPARK-13810) Add Port Configuration Suggestions on Bind Exceptions

     [ https://issues.apache.org/jira/browse/SPARK-13810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-13810.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.2
                   2.0.0

Issue resolved by pull request 11644
[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
>             Fix For: 2.0.0, 1.6.2
>
>
> 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