Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-7236] [CORE] Fix to prevent AkkaUtils askWithReply from sleeping on final attempt #5896

Closed

Conversation

BryanCutler
Copy link
Member

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.

@zsxwing
Copy link
Member

zsxwing commented May 4, 2015

Good catch. LGTM.

@rxin
Copy link
Contributor

rxin commented May 4, 2015

Jenkins, test this please.

@SparkQA
Copy link

SparkQA commented May 5, 2015

Test build #31794 has finished for PR 5896 at commit 653a07b.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor

rxin commented May 5, 2015

Merging this in master & branch-1.4. Thanks for fixing it.

asfgit pushed a commit that referenced this pull request May 5, 2015
…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>
@asfgit asfgit closed this in 8aa5aea May 5, 2015
jeanlyn pushed a commit to jeanlyn/spark that referenced this pull request May 28, 2015
…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 apache#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
jeanlyn pushed a commit to jeanlyn/spark that referenced this pull request Jun 12, 2015
…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 apache#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
nemccarthy pushed a commit to nemccarthy/spark that referenced this pull request Jun 19, 2015
…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 apache#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
@BryanCutler BryanCutler deleted the askWithReply-sleep-7236 branch October 29, 2015 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants