spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-8666) checkpointing does not take advantage of persisted/cached RDDs
Date Sat, 27 Jun 2015 05:30:04 GMT

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

Sean Owen resolved SPARK-8666.
------------------------------
    Resolution: Duplicate

> checkpointing does not take advantage of persisted/cached RDDs
> --------------------------------------------------------------
>
>                 Key: SPARK-8666
>                 URL: https://issues.apache.org/jira/browse/SPARK-8666
>             Project: Spark
>          Issue Type: New Feature
>            Reporter: Glenn Strycker
>
> I have been noticing that when checkpointing RDDs, all operations are occurring TWICE.
> For example, when I run the following code and watch the stages...
> {noformat}
> val newRDD = prevRDD.map(a => (a._1, 1L)).distinct.persist(StorageLevel.MEMORY_AND_DISK_SER)
> newRDD.checkpoint
> print(newRDD.count())
> {noformat}
> I see distinct and count operations appearing TWICE, and shuffle disk writes and reads
(from the distinct) occurring TWICE.
> My newRDD is persisted to memory, why can't the checkpoint simply save those partitions
to disk when the first operations have completed?



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


Mime
View raw message