Github user squito commented on a diff in the pull request:
https://github.com/apache/spark/pull/5741#discussion_r29334021
--- Diff: core/src/main/scala/org/apache/spark/util/AkkaUtils.scala ---
@@ -171,14 +215,20 @@ private[spark] object AkkaUtils extends Logging {
while (attempts < maxAttempts) {
attempts += 1
try {
- val future = actor.ask(message)(timeout)
- val result = Await.result(future, timeout)
+ val future = actor.ask(message)(confTimeout.timeout)
+ val result = Await.result(future, confTimeout.timeout)
if (result == null) {
throw new SparkException("Actor returned null")
}
return result.asInstanceOf[T]
} catch {
case ie: InterruptedException => throw ie
+ case te: TimeoutException =>
+ var msg = te.toString()
+ if (confTimeout.description != null) {
+ msg += " with [" + confTimeout.description + "]"
--- End diff --
I'd like a little clearer explanation here, like "This timeout is
controlled by spark.xxx.yyy.zzz"
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]