Skip to content
Snippets Groups Projects
Commit ec09acdd authored by witgo's avatar witgo Committed by Patrick Wendell
Browse files

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
parent fbfe69de
No related branches found
No related tags found
No related merge requests found
...@@ -333,6 +333,6 @@ object SparkSubmitArguments { ...@@ -333,6 +333,6 @@ object SparkSubmitArguments {
val message = s"Failed when loading Spark properties file ${file.getName}" val message = s"Failed when loading Spark properties file ${file.getName}"
throw new SparkException(message, e) throw new SparkException(message, e)
} }
properties.stringPropertyNames().toSeq.map(k => (k, properties(k))) properties.stringPropertyNames().toSeq.map(k => (k, properties(k).trim))
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment