Skip to content

Conversation

@zsxwing
Copy link
Member

@zsxwing zsxwing commented Jun 2, 2017

What changes were proposed in this pull request?

When stopping StreamingQuery, StreamExecution will set streamDeathCause then notify StreamingQueryManager to remove this query. So it's possible that when q2.exception.isDefined returns true, StreamingQueryManager's active list still has q2.

This PR just puts the checks into eventually to fix the flaky test.

How was this patch tested?

Jenkins

@SparkQA
Copy link

SparkQA commented Jun 2, 2017

Test build #77661 has finished for PR 18180 at commit c3acd6d.

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

@dongjoon-hyun
Copy link
Member

+1, LGTM.

@tdas
Copy link
Contributor

tdas commented Jun 5, 2017

Merging this to master and 2.2

@asfgit asfgit closed this in bc537e4 Jun 5, 2017
asfgit pushed a commit that referenced this pull request Jun 5, 2017
…rSuite listing

## What changes were proposed in this pull request?

When stopping StreamingQuery, StreamExecution will set `streamDeathCause` then notify StreamingQueryManager to remove this query. So it's possible that when `q2.exception.isDefined` returns `true`, StreamingQueryManager's active list still has `q2`.

This PR just puts the checks into `eventually` to fix the flaky test.

## How was this patch tested?

Jenkins

Author: Shixiong Zhu <[email protected]>

Closes #18180 from zsxwing/SPARK-20957.

(cherry picked from commit bc537e4)
Signed-off-by: Tathagata Das <[email protected]>
@zsxwing zsxwing deleted the SPARK-20957 branch June 5, 2017 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants