Github user hlin09 commented on a diff in the pull request:
https://github.com/apache/spark/pull/5493#discussion_r28263584
--- Diff: R/pkg/inst/tests/test_rdd.R ---
@@ -141,7 +141,8 @@ test_that("PipelinedRDD support actions: cache(),
persist(), unpersist(), checkp
unpersist(rdd2)
expect_false(rdd2@env$isCached)
- setCheckpointDir(sc, "checkpoints")
+ tempDir <- tempfile(pattern = "checkpoint")
--- End diff --
It creates a path name, and Spark will create the directory according a
specific file system. On my local test, checkpoint seems to work as I can see
the checkpoint directory with data. But still, I can create a directory in R,
and pass it to the setCheckpointDir().
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]