GitHub user jhu-chang opened a pull request:
https://github.com/apache/spark/pull/9765
[SPARK-11749][Streaming] Duplicate creating the RDD in file stream when
recovering from checkpoint data
Add a transient flag `DStream.restoredFromCheckpointData` to control the
restore processing in DStream to avoid duplicate works: check this flag first
in `DStream.restoreCheckpointData`, only when `false`, the restore process will
be executed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jhu-chang/spark SPARK-11749
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/9765.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 #9765
----
commit 02e50c2df8ff01dd4366f1583205ac28999dd88e
Author: jhu-chang <[email protected]>
Date: 2015-11-17T09:17:28Z
Add a flag to control the restore in DStream to avoid dup works
----
---
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]