-
- Downloads
[SPARK-11749][STREAMING] Duplicate creating the RDD in file stream when...
[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. Author: jhu-chang <gt.hu.chang@gmail.com> Closes #9765 from jhu-chang/SPARK-11749.
Showing
- streaming/src/main/scala/org/apache/spark/streaming/dstream/DStream.scala 10 additions, 5 deletions...in/scala/org/apache/spark/streaming/dstream/DStream.scala
- streaming/src/test/scala/org/apache/spark/streaming/CheckpointSuite.scala 52 additions, 4 deletions...st/scala/org/apache/spark/streaming/CheckpointSuite.scala
Loading
Please register or sign in to comment