Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-7236] [CORE] Fix to prevent AkkaUtils askWithReply from sleepi…
…ng on final attempt Added a check so that if `AkkaUtils.askWithReply` is on the final attempt, it will not sleep for the `retryInterval`. This should also prevent the thread from sleeping for `Int.Max` when using `askWithReply` with default values for `maxAttempts` and `retryInterval`. Author: Bryan Cutler <bjcutler@us.ibm.com> Closes #5896 from BryanCutler/askWithReply-sleep-7236 and squashes the following commits: 653a07b [Bryan Cutler] [SPARK-7236] Fix to prevent AkkaUtils askWithReply from sleeping on final attempt (cherry picked from commit 8aa5aea) Signed-off-by: Reynold Xin <rxin@databricks.com>
- Loading branch information