[ 
https://issues.apache.org/jira/browse/SPARK-7236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reynold Xin resolved SPARK-7236.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0
         Assignee: Bryan Cutler

> AkkaUtils askWithReply sleeps indefinitely when a timeout exception is thrown
> -----------------------------------------------------------------------------
>
>                 Key: SPARK-7236
>                 URL: https://issues.apache.org/jira/browse/SPARK-7236
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>            Reporter: Bryan Cutler
>            Assignee: Bryan Cutler
>            Priority: Critical
>              Labels: quickfix
>             Fix For: 1.4.0
>
>         Attachments: SparkLongSleepAfterTimeout.scala
>
>
> When {{AkkaUtils.askWithReply}} gets a TimeoutException, the default 
> parameters {{maxAttempts = 1}} and {{retryInterval = Int.MaxValue}} lead to 
> the thread sleeping for a good while.
> I noticed this issue when testing for SPARK-6980 and using this function 
> without invoking Spark jobs, so perhaps it acts differently in another 
> context.
> If this function is on its final attempt to ask and it fails, it should 
> return immediately.  Also, perhaps a better default {{retryInterval}} would 
> be {{0}}.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to