Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-13810

Add Port Configuration Suggestions on Bind Exceptions

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              bjornjons Bjorn Jonsson
              Reporter:
              bjornjons Bjorn Jonsson
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: