aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorwitgo <witgo@qq.com>2014-05-06 14:17:39 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-05-06 14:17:39 -0700
commitec09acdd4a72333e1c9c2e9d8e12e9c4c07770c8 (patch)
treee9b4311c1147663bd74d5c79f7f32401aacbe911 /core/src
parentfbfe69de69aa6767d95167711622ec34c59a1f6d (diff)
downloadspark-ec09acdd4a72333e1c9c2e9d8e12e9c4c07770c8.tar.gz
spark-ec09acdd4a72333e1c9c2e9d8e12e9c4c07770c8.tar.bz2
spark-ec09acdd4a72333e1c9c2e9d8e12e9c4c07770c8.zip
SPARK-1734: spark-submit throws an exception: Exception in thread "main"...
... java.lang.ClassNotFoundException: org.apache.spark.broadcast.TorrentBroadcastFactory Author: witgo <witgo@qq.com> Closes #665 from witgo/SPARK-1734 and squashes the following commits: cacf238 [witgo] SPARK-1734: spark-submit throws an exception: Exception in thread "main" java.lang.ClassNotFoundException: org.apache.spark.broadcast.TorrentBroadcastFactory
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala b/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala
index 45defb9a3f..7031cdd9b4 100644
--- a/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala
+++ b/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala
@@ -333,6 +333,6 @@ object SparkSubmitArguments {
val message = s"Failed when loading Spark properties file ${file.getName}"
throw new SparkException(message, e)
}
- properties.stringPropertyNames().toSeq.map(k => (k, properties(k)))
+ properties.stringPropertyNames().toSeq.map(k => (k, properties(k).trim))
}
}