Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-21736

Spark 2.2 in Windows does not recognize the URI "file:Z:\SIT1\TreatmentManager\app.properties"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 2.2.0
    • None
    • Windows
    • None
    • OS: Windows Server 2012
      JVM: Oracle Java 1.8 (hotspot)

    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

      UPDATE: I replaced the \ with / and it works.

      Attachments

        Activity

          People

            Unassigned Unassigned
            briggs007 Ross Brigoli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: