Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/7021#discussion_r33995655
--- Diff: core/src/main/scala/org/apache/spark/rdd/RDDCheckpointData.scala
---
@@ -114,7 +145,7 @@ private[spark] class RDDCheckpointData[T:
ClassTag](@transient rdd: RDD[T])
rdd.markCheckpointed(newRDD) // Update the RDD's dependencies and
partitions
cpState = Checkpointed
--- End diff --
The state transition here is incorrect. At this point the RDD has not been
checkpointed yet. It's not safe to truncate the RDD's lineage until we drain
the iterator.
---
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]