You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/01/13 14:42:26 UTC

[jira] [Assigned] (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 ]

Apache Spark reassigned SPARK-19215:
------------------------------------

    Assignee: Apache Spark

> 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
>            Assignee: Apache Spark
>   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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org