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 49549d5 commit 653a07bCopy full SHA for 653a07b
core/src/main/scala/org/apache/spark/util/AkkaUtils.scala
@@ -183,7 +183,9 @@ private[spark] object AkkaUtils extends Logging {
183
lastException = e
184
logWarning(s"Error sending message [message = $message] in $attempts attempts", e)
185
}
186
- Thread.sleep(retryInterval)
+ if (attempts < maxAttempts) {
187
+ Thread.sleep(retryInterval)
188
+ }
189
190
191
throw new SparkException(
0 commit comments