[ 
https://issues.apache.org/jira/browse/SPARK-3625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14143153#comment-14143153
 ] 

Sean Owen commented on SPARK-3625:
----------------------------------

This prints "1000" both times for me, which is correct. When you say "doesn't 
work", could you please elaborate? different count? exception? what is your 
environment?

> In some cases, the RDD.checkpoint does not work
> -----------------------------------------------
>
>                 Key: SPARK-3625
>                 URL: https://issues.apache.org/jira/browse/SPARK-3625
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.0.2, 1.1.0
>            Reporter: Guoqiang Li
>            Assignee: Guoqiang Li
>            Priority: Blocker
>
> The reproduce code:
> {code}
>  sc.setCheckpointDir(checkpointDir)
> val c = sc.parallelize((1 to 1000))
> c.count
> c.checkpoint()
> c.count
> {code}



--
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

Reply via email to