You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Imran Rashid (JIRA)" <ji...@apache.org> on 2015/04/17 13:32:59 UTC

[jira] [Created] (SPARK-6980) Akka timeout exceptions indicate which conf controls them

Imran Rashid created SPARK-6980:
-----------------------------------

             Summary: Akka timeout exceptions indicate which conf controls them
                 Key: SPARK-6980
                 URL: https://issues.apache.org/jira/browse/SPARK-6980
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
            Reporter: Imran Rashid
            Priority: Minor


If you hit one of the akka timeouts, you just get an exception like

{code}
java.util.concurrent.TimeoutException: Futures timed out after [30 seconds]
{code}

The exception doesn't indicate how to change the timeout, though there is usually (always?) a corresponding setting in {{SparkConf}} .  It would be nice if the exception including the relevant setting.

I think this should be pretty easy to do -- we just need to create something like a {{NamedTimeout}}.  It would have its own {{await}} method, catches the akka timeout and throws its own exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org