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-19891][SS] Await Batch Lock notified on stream execution exit #17231

Closed
wants to merge 1 commit into from

Conversation

tcondie
Copy link
Contributor

@tcondie tcondie commented Mar 10, 2017

What changes were proposed in this pull request?

We need to notify the await batch lock when the stream exits early e.g., when an exception has been thrown.

How was this patch tested?

Current tests that throw exceptions at runtime will finish faster as a result of this update.

@zsxwing

Please review http://spark.apache.org/contributing.html before opening a pull request.

@zsxwing
Copy link
Member

zsxwing commented Mar 10, 2017

Could you just submit one commit, please? The PR commit history will be a part of the commit message after merging. That's totally not necessary for such minor fix.

@SparkQA
Copy link

SparkQA commented Mar 10, 2017

Test build #74287 has finished for PR 17231 at commit b6f1bb0.

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

@SparkQA
Copy link

SparkQA commented Mar 10, 2017

Test build #74292 has finished for PR 17231 at commit a23162a.

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

@SparkQA
Copy link

SparkQA commented Mar 10, 2017

Test build #74294 has finished for PR 17231 at commit 8170792.

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

@SparkQA
Copy link

SparkQA commented Mar 10, 2017

Test build #74293 has finished for PR 17231 at commit c49e183.

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

@zsxwing
Copy link
Member

zsxwing commented Mar 10, 2017

LGTM. Merging to master and 2.1.

asfgit pushed a commit that referenced this pull request Mar 10, 2017
## What changes were proposed in this pull request?

We need to notify the await batch lock when the stream exits early e.g., when an exception has been thrown.

## How was this patch tested?

Current tests that throw exceptions at runtime will finish faster as a result of this update.

zsxwing

Please review http://spark.apache.org/contributing.html before opening a pull request.

Author: Tyson Condie <tcondie@gmail.com>

Closes #17231 from tcondie/kafka-writer.

(cherry picked from commit 501b711)
Signed-off-by: Shixiong Zhu <shixiong@databricks.com>
@asfgit asfgit closed this in 501b711 Mar 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants