-
- Downloads
[SPARK-6222][Streaming] Dont delete checkpoint data when doing pre-batch-start checkpoint
This is another alternative approach to https://github.com/apache/spark/pull/4964/ I think this is a simpler fix that can be backported easily to other branches (1.2 and 1.3). All it does it introduce a flag so that the pre-batch-start checkpoint does not call clear checkpoint. There is not unit test yet. I will add it when this approach is commented upon. Not sure if this is testable easily. Author: Tathagata Das <tathagata.das1565@gmail.com> Closes #5008 from tdas/SPARK-6222 and squashes the following commits: 7315bc2 [Tathagata Das] Removed empty line. c438de4 [Tathagata Das] Revert unnecessary change. 5e98374 [Tathagata Das] Added unit test 50cb60b [Tathagata Das] Fixed style issue 295ca5c [Tathagata Das] Fixing SPARK-6222
Showing
- streaming/src/main/scala/org/apache/spark/streaming/Checkpoint.scala 8 additions, 4 deletions...rc/main/scala/org/apache/spark/streaming/Checkpoint.scala
- streaming/src/main/scala/org/apache/spark/streaming/scheduler/JobGenerator.scala 12 additions, 8 deletions...a/org/apache/spark/streaming/scheduler/JobGenerator.scala
- streaming/src/test/scala/org/apache/spark/streaming/scheduler/JobGeneratorSuite.scala 133 additions, 0 deletions.../apache/spark/streaming/scheduler/JobGeneratorSuite.scala
Please register or sign in to comment