Skip to content

Conversation

@zsxwing
Copy link
Member

@zsxwing zsxwing commented Mar 4, 2016

What changes were proposed in this pull request?

Stop StreamingContext before deleting checkpoint dir to avoid the race condition that deleting the checkpoint dir and writing checkpoint happen at the same time.

The flaky test log is here: https://amplab.cs.berkeley.edu/jenkins/job/spark-master-test-sbt-hadoop-2.7/256/testReport/junit/org.apache.spark.streaming/MapWithStateSuite/_It_is_not_a_test_/

How was this patch tested?

unit tests

@SparkQA
Copy link

SparkQA commented Mar 5, 2016

Test build #52497 has finished for PR 11531 at commit 7d27863.

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

@srowen
Copy link
Member

srowen commented Mar 5, 2016

+1. Is this the only test that does this?

@zsxwing
Copy link
Member Author

zsxwing commented Mar 5, 2016

+1. Is this the only test that does this?

Didn't find other similar issue. Thanks. Merging to master.

@asfgit asfgit closed this in 8290004 Mar 5, 2016
@zsxwing zsxwing deleted the SPARK-13693 branch March 5, 2016 23:31
roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
… checkpoint dir

## What changes were proposed in this pull request?

Stop StreamingContext before deleting checkpoint dir to avoid the race condition that deleting the checkpoint dir and writing checkpoint happen at the same time.

The flaky test log is here: https://amplab.cs.berkeley.edu/jenkins/job/spark-master-test-sbt-hadoop-2.7/256/testReport/junit/org.apache.spark.streaming/MapWithStateSuite/_It_is_not_a_test_/

## How was this patch tested?

unit tests

Author: Shixiong Zhu <[email protected]>

Closes apache#11531 from zsxwing/SPARK-13693.
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.

3 participants