You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2017/08/15 14:41:00 UTC

[jira] [Resolved] (SPARK-21736) Spark 2.2 in Windows does not recognize the URI "file:Z:\SIT1\TreatmentManager\app.properties"

     [ https://issues.apache.org/jira/browse/SPARK-21736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-21736.
-------------------------------
    Resolution: Not A Problem

> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org