You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:15:11 UTC

[jira] [Resolved] (SPARK-19215) Add necessary check for `RDD.checkpoint` to avoid potential mistakes

     [ https://issues.apache.org/jira/browse/SPARK-19215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-19215.
----------------------------------
    Resolution: Incomplete

> 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
>            Priority: Major
>              Labels: bulk-closed
>   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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org