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

Ross Brigoli commented on SPARK-21736:
--------------------------------------

You're right file:/z:/works. But the issue is that file:\z:\... works in Spark 
2.1.0 so we did not bother changing it. Now we had to update all our 
configuration in production just to make it work in Spark 2.2.0

> Spark 2.2 in Windows does not recognize the URI 
> "file:Z:\SIT1\TreatmentManager\app.properties"
> ----------------------------------------------------------------------------------------------
>
>                 Key: SPARK-21736
>                 URL: https://issues.apache.org/jira/browse/SPARK-21736
>             Project: Spark
>          Issue Type: Bug
>          Components: Windows
>    Affects Versions: 2.2.0
>         Environment: OS: Windows Server 2012
> JVM: Oracle Java 1.8 (hotspot)
>            Reporter: Ross Brigoli
>
> We are currently running Spark 2.1 in Windows Server 2012 in Production. 
> While trying to upgrade to Spark 2.2.0 spark we started getting this error 
> after submitting job in stand-alone cluster mode:
> Could not load properties; nested exception is java.io.IOException: 
> java.net.URISyntaxException: Illegal character in opaque part at index 7: 
> file:Z:\SIT1\TreatmentManager\app.properties 
> We passing a -D argument to the spark submit with a value of 
> file:Z:\SIT1\TreatmentManager\app.properties
> *These URI -D arguments was working fine in Spark 2.1.0*
> UPDATE: I replaced the \ with / and it works.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to