[ https://issues.apache.org/jira/browse/SPARK-19215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15821871#comment-15821871 ]
Apache Spark commented on SPARK-19215: -------------------------------------- User 'WeichenXu123' has created a pull request for this issue: https://github.com/apache/spark/pull/16576 > Add necessary check for `RDD.checkpoint` to avoid potential mistakes > -------------------------------------------------------------------- > > Key: SPARK-19215 > URL: https://issues.apache.org/jira/browse/SPARK-19215 > Project: Spark > Issue Type: Improvement > Components: Spark Core > Reporter: Weichen Xu > Original Estimate: 24h > Remaining Estimate: 24h > > Currently RDD.checkpoint must be called before any job executed on this RDD, > otherwise the `doCheckpoint` will never be called. This is a pitfall we > should check this and throw exception (or at least log warning ? ) for such > case. > And, if RDD haven't been persisted, doing checkpoint will cause RDD > recomputation, because current implementation will run separated job for > checkpointing. I think such case it should also print some warning message, > remind user to check whether he forgot persist the RDD. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org