[ 
https://issues.apache.org/jira/browse/SPARK-12622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15082653#comment-15082653
 ] 

Adrian Bridgett commented on SPARK-12622:
-----------------------------------------

Ajesh - that'd be a good improvement (I raised the ticket as it's not obvious 
what the problem is rather than that I really want spaces to work!)  I'd worry 
that someone would then raise a problem about "file:/tmp/f%20oo.jar" failing :-)

Jayadevan - I disliked the space when I saw it (sbt assembly of some in house 
code) but didn't know if it was invalid or not (but made a mental note to ask 
if we could lose the space).  FYI it looks like it's due to name in our sbt 
being "foo data" so we get "foo data-assembly-1.0.jar". Interestingly, the sbt 
example also has spaces: 
http://www.scala-sbt.org/0.13/docs/Howto-Project-Metadata.html

> spark-submit fails on executors when jar has a space in it
> ----------------------------------------------------------
>
>                 Key: SPARK-12622
>                 URL: https://issues.apache.org/jira/browse/SPARK-12622
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Submit
>    Affects Versions: 1.6.0
>         Environment: Linux, Mesos 
>            Reporter: Adrian Bridgett
>            Priority: Minor
>
> spark-submit --class foo "Foo.jar"  works
> but when using "f oo.jar" it starts to run and then breaks on the executors 
> as they cannot find the various functions.
> Out of interest (as HDFS CLI uses this format) I tried f%20oo.jar - this 
> fails immediately.
> {noformat}
> spark-submit --class Foo /tmp/f\ oo.jar
> ...
> spark.jars=file:/tmp/f%20oo.jar
> 6/01/04 14:56:47 INFO spark.SparkContext: Added JAR file:/tmpf%20oo.jar at 
> http://10.1.201.77:43888/jars/f%oo.jar with timestamp 1451919407769
> 16/01/04 14:57:48 WARN scheduler.TaskSetManager: Lost task 4.0 in stage 0.0 
> (TID 2, ip-10-1-200-232.ec2.internal): java.lang.ClassNotFoundException: 
> Foo$$anonfun$46
> {noformat}
> SPARK-6568 is related but maybe specific to the Windows environment



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to