From 176e68e6c2e3dc528f51f35719fb6c3160579f2e Mon Sep 17 00:00:00 2001 From: Andrew Or Date: Wed, 5 Mar 2014 16:04:50 -0800 Subject: [PATCH] Fix deprecated message for JavaSparkContext (minor) --- .../scala/org/apache/spark/api/java/JavaSparkContext.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/scala/org/apache/spark/api/java/JavaSparkContext.scala b/core/src/main/scala/org/apache/spark/api/java/JavaSparkContext.scala index f2e5a854833d9..2a4f471e08c80 100644 --- a/core/src/main/scala/org/apache/spark/api/java/JavaSparkContext.scala +++ b/core/src/main/scala/org/apache/spark/api/java/JavaSparkContext.scala @@ -415,7 +415,7 @@ class JavaSparkContext(val sc: SparkContext) extends JavaSparkContextVarargsWork * Clear the job's list of JARs added by `addJar` so that they do not get downloaded to * any new nodes. */ - @deprecated("added jars are now temporary files and need not be deleted manually", "1.0.0") + @deprecated("adding jars no longer creates local copies that need to be deleted", "1.0.0") def clearJars() { sc.clearJars() } @@ -424,7 +424,7 @@ class JavaSparkContext(val sc: SparkContext) extends JavaSparkContextVarargsWork * Clear the job's list of files added by `addFile` so that they do not get downloaded to * any new nodes. */ - @deprecated("added files are now temporary files and need not be deleted manually", "1.0.0") + @deprecated("adding files no longer creates local copies that need to be deleted", "1.0.0") def clearFiles() { sc.clearFiles() }