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

Ross Brigoli updated SPARK-21736:
---------------------------------
    Description: 
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*

  was:
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 have this lines in the *spark-defaults.conf*

spark.eventLog.dir file:/z:/sparklogs
spark.history.fs.logDirectory file:/z:/sparklogs

*These URIs worked fine in Spark 2.1.0*

        Summary: Spark 2.2 in Windows does not recognize the URI 
"file:Z:\SIT1\TreatmentManager\app.properties"  (was: Spark 2.2 in Windows does 
not recognize the URI file:/z:/sparklogs from spark-defaults.conf)

> 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*



--
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