You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Masayoshi TSUZUKI (JIRA)" <ji...@apache.org> on 2015/04/03 11:30:53 UTC
[jira] [Commented] (SPARK-6568) spark-shell.cmd --jars option does
not accept the jar that has space in its path
[ https://issues.apache.org/jira/browse/SPARK-6568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394240#comment-14394240 ]
Masayoshi TSUZUKI commented on SPARK-6568:
------------------------------------------
{code}
bin\spark-shell.cmd --jars "C:\Program Files\some\jar1.jar"
{code}
{code}
Exception in thread "main" java.net.URISyntaxException: Illegal character in path at index 10: C:/Program Files/some/jar1.jar
at java.net.URI$Parser.fail(URI.java:2829)
at java.net.URI$Parser.checkChars(URI.java:3002)
at java.net.URI$Parser.parseHierarchical(URI.java:3086)
at java.net.URI$Parser.parse(URI.java:3034)
at java.net.URI.<init>(URI.java:595)
at org.apache.spark.util.Utils$.resolveURI(Utils.scala:1721)
at org.apache.spark.util.Utils$$anonfun$resolveURIs$1.apply(Utils.scala:1745)
at org.apache.spark.util.Utils$$anonfun$resolveURIs$1.apply(Utils.scala:1745)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:108)
at org.apache.spark.util.Utils$.resolveURIs(Utils.scala:1745)
at org.apache.spark.deploy.SparkSubmitArguments.handle(SparkSubmitArguments.scala:367)
at org.apache.spark.launcher.SparkSubmitOptionParser.parse(SparkSubmitOptionParser.java:155)
at org.apache.spark.deploy.SparkSubmitArguments.<init>(SparkSubmitArguments.scala:92)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:105)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
15/04/02 14:23:46 DEBUG Utils: Shutdown hook called
{code}
> spark-shell.cmd --jars option does not accept the jar that has space in its path
> --------------------------------------------------------------------------------
>
> Key: SPARK-6568
> URL: https://issues.apache.org/jira/browse/SPARK-6568
> Project: Spark
> Issue Type: Bug
> Components: Spark Shell, Windows
> Affects Versions: 1.3.0
> Environment: Windows 8.1
> Reporter: Masayoshi TSUZUKI
>
> spark-shell.cmd --jars option does not accept the jar that has space in its path.
> The path of jar sometimes containes space in Windows.
> {code}
> bin\spark-shell.cmd --jars "C:\Program Files\some\jar1.jar"
> {code}
> this gets
> {code}
> Exception in thread "main" java.net.URISyntaxException: Illegal character in path at index 10: C:/Program Files/some/jar1.jar
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org