Github user sryza commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5751#discussion_r29277660
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
    @@ -1387,6 +1387,11 @@ class SparkContext(config: SparkConf) extends 
Logging with ExecutorAllocationCli
        * Register an RDD to be persisted in memory and/or disk storage
        */
       private[spark] def persistRDD(rdd: RDD[_]) {
    +    _executorAllocationManager.foreach { _ =>
    +      logWarning(
    +        s"Dynamic allocation currently does not support cached RDDs. 
Cached data for RDD " +
    +        s"${rdd.id} will be deallocated when executors are removed.")
    --- End diff --
    
    nit: can we say "lost" instead of "deallocated"?  Deallocate has a 
connotation to me of purposely returned to a pool, where as this is more a 
situation of unpurposely returned to nowhere accessible.


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

Reply via email to