Github user pwendell commented on a diff in the pull request: https://github.com/apache/spark/pull/1082#discussion_r14053327 --- Diff: core/src/main/scala/org/apache/spark/api/java/JavaSparkContext.scala --- @@ -559,6 +559,19 @@ class JavaSparkContext(val sc: SparkContext) extends JavaSparkContextVarargsWork def getLocalProperty(key: String): String = sc.getLocalProperty(key) /** + * Get a set of RDD IDs that have marked themselves as persistent via cache() call. + * Note that this does not necessarily mean the caching or computation was successful. + */ + def getPersistentRddIds(): java.util.Set[Int] = + setAsJavaSet(sc.getPersistentRDDs.keySet) + + /** + * Unpersist an RDD from memory and/or disk storage --- End diff -- Minor: needs to end with a `.`
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---