diff options
author | Bjorn Jonsson <bjornjon@gmail.com> | 2016-03-13 10:18:24 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-03-13 10:18:24 +0000 |
commit | 515e4afbc7ec957609451ea75772d6ef1b914908 (patch) | |
tree | 0a7bbfab0f9c21396e12f51e77c8cc67022ba91a /R/pkg/inst/tests/testthat/test_rdd.R | |
parent | db88d0204e3a9a05dbe6e67e1abb942639c50a06 (diff) | |
download | spark-515e4afbc7ec957609451ea75772d6ef1b914908.tar.gz spark-515e4afbc7ec957609451ea75772d6ef1b914908.tar.bz2 spark-515e4afbc7ec957609451ea75772d6ef1b914908.zip |
[SPARK-13810][CORE] Add Port Configuration Suggestions on Bind Exceptions
## What changes were proposed in this pull request?
Currently, when a java.net.BindException is thrown, it displays the following message:
java.net.BindException: Address already in use: Service '$serviceName' failed after 16 retries!
This change adds port configuration suggestions to the BindException, for example, for the UI, it now displays
java.net.BindException: Address already in use: Service 'SparkUI' failed after 16 retries! Consider explicitly setting the appropriate port for 'SparkUI' (for example spark.ui.port for SparkUI) to an available port or increasing spark.port.maxRetries.
## How was this patch tested?
Manual tests
Author: Bjorn Jonsson <bjornjon@gmail.com>
Closes #11644 from bjornjon/master.
Diffstat (limited to 'R/pkg/inst/tests/testthat/test_rdd.R')
0 files changed, 0 insertions, 0 deletions