Affects Version/s: 1.1.0
Component/s: Spark Core
java version "1.7.0_72"
Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode)
Consider trivial test.scala:
When built with sbt and executed using spark-submit target/scala-2.10/test_2.10-1.0.jar, I get the following error:
When executed using spark-submit --class Main target/scala-2.10/test_2.10-1.0.jar, it works.
The jar file has correct MANIFEST.MF:
The problem is that in org.apache.spark.deploy.SparkSubmitArguments, line 127:
the primaryResource has String value "file:/ha/home/straka/s/target/scala-2.10/test_2.10-1.0.jar", which is URI, but JarFile can use only Path. One way to fix this would be using