Skip to content

Commit ec09acd

Browse files
witgopwendell
authored andcommitted
SPARK-1734: spark-submit throws an exception: Exception in thread "main"...
... java.lang.ClassNotFoundException: org.apache.spark.broadcast.TorrentBroadcastFactory Author: witgo <[email protected]> Closes mesos#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
1 parent fbfe69d commit ec09acd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,6 @@ object SparkSubmitArguments {
333333
val message = s"Failed when loading Spark properties file ${file.getName}"
334334
throw new SparkException(message, e)
335335
}
336-
properties.stringPropertyNames().toSeq.map(k => (k, properties(k)))
336+
properties.stringPropertyNames().toSeq.map(k => (k, properties(k).trim))
337337
}
338338
}

0 commit comments

Comments
 (0)