[
https://issues.apache.org/jira/browse/SPARK-11459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14990545#comment-14990545
]
Rekha Joshi commented on SPARK-11459:
-------------------------------------
imo [~rdub], Having UUID is usual practice to avoid collision, keeping the
process sterile, uninfluenced by user creativity on file names :-)
The directory is configurable,and passed as param on setCheckpointDir already.
[~vanzin] [~srowen] Your thoughts? Thanks.
> 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
>
> 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]