dongjoon-hyun commented on a change in pull request #25856: [SPARK-29182][Core]
Cache preferred locations of checkpointed RDD
URL: https://github.com/apache/spark/pull/25856#discussion_r327377616
##########
File path: core/src/test/scala/org/apache/spark/CheckpointSuite.scala
##########
@@ -618,4 +618,26 @@ class CheckpointCompressionSuite extends SparkFunSuite
with LocalSparkContext {
assert(rdd.collect().toSeq === (1 to 20))
}
}
+
+ test("cache checkpoint preferred location") {
+ withTempDir { checkpointDir =>
+ val conf = new SparkConf()
+ .set("spark.rdd.checkpoint.cachePreferredLocs", "true")
Review comment:
Shall we use `CACHE_CHECKPOINT_PREFERRED_LOCS.key`? Otherwise, someone will
create a follow-up later.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]