[
https://issues.apache.org/jira/browse/SPARK-11459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14991352#comment-14991352
]
Sean Owen commented on SPARK-11459:
-----------------------------------
That's not the purpose of checkpoints though. The path has to contain a unique
element to differentiate different RDDs. You should indeed explicitly 'save'
data if you need to serialize it to external storage.
> Allow configuring checkpoint dir, filenames
> -------------------------------------------
>
> Key: SPARK-11459
> URL: https://issues.apache.org/jira/browse/SPARK-11459
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Affects Versions: 1.5.1
> Reporter: Ryan Williams
> Priority: Minor
>
> I frequently want to persist some RDDs to disk and choose the names of the
> files that they are saved as.
> Currently, the {{RDD.checkpoint}} flow [writes to a directory with a UUID in
> its
> name|https://github.com/apache/spark/blob/v1.5.1/core/src/main/scala/org/apache/spark/SparkContext.scala#L2050],
> and the file is [always named after the RDD's
> ID|https://github.com/apache/spark/blob/v1.5.1/core/src/main/scala/org/apache/spark/rdd/ReliableRDDCheckpointData.scala#L96].
> Is there any reason not to allow the user to e.g. pass a string to
> {{RDD.checkpoint}} that will set the location that the RDD is checkpointed to?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]