We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d7e408 commit 470f38cCopy full SHA for 470f38c
core/src/main/scala/org/apache/spark/util/Utils.scala
@@ -1357,7 +1357,10 @@ private[spark] object Utils extends Logging {
1357
return (service, port)
1358
} catch {
1359
case e: BindException =>
1360
- if (!e.getMessage.contains("Address already in use") || offset >= maxRetries) {
+ if (!e.getMessage.contains("Address already in use")) {
1361
+ throw e
1362
+ }
1363
+ if (offset >= maxRetries) {
1364
val exceptionMessage =
1365
s"${e.getMessage}: Service$serviceString failed after $maxRetries retries!"
1366
val exception = new BindException(exceptionMessage)
0 commit comments