GitHub user zsxwing opened a pull request:
https://github.com/apache/spark/pull/11531
[SPARK-13693][Streaming][Tests]Stop StreamingContext before deleting
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
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zsxwing/spark SPARK-13693
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11531.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #11531
----
commit 7d278634d7e8c1352fa010615f09507a0f0eb81d
Author: Shixiong Zhu <[email protected]>
Date: 2016-03-04T23:48:56Z
Stop StreamingContext before deleting checkpoint dir
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]