Github user roryodonnell commented on the issue:

    https://github.com/apache/spark/pull/14807
  
    This causes issues starting Spark using the SparkLauncher under Windows, 
only when one sets an additional config parameter using the 
SparkLauncher.setConf method
    
    c:\somepath\Spark-2.0.2\bin\spark-submit2.cmd" --verbose --master local[1] 
--conf "spark.executor.extraClassPath' is not recognized as an internal or 
external command,
    => operable program or batch file.
    
    If I remove the quotes from the spark-submit.cmd from
    `cmd /V /E /C "%~dp0spark-submit2.cmd" %*`
    to
    `cmd /V /E /C "%~dp0spark-submit2.cmd" %*`
    
    it works.  Just thought you'd like to know.  I was pulling my hair out for 
10 hours locating this


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to