Github user taoli91 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12696#discussion_r61984750
  
    --- Diff: 
core/src/test/scala/org/apache/spark/deploy/SparkSubmitSuite.scala ---
    @@ -575,8 +575,13 @@ class SparkSubmitSuite
       // NOTE: This is an expensive operation in terms of time (10 seconds+). 
Use sparingly.
       private def runSparkSubmit(args: Seq[String]): Unit = {
         val sparkHome = sys.props.getOrElse("spark.test.home", 
fail("spark.test.home is not set!"))
    +    val sparkSubmit = if (Utils.isWindows) {
    +      Seq(new File("..\\bin\\spark-submit.cmd").getAbsolutePath) ++ args
    --- End diff --
    
    Yes, I've tried it. To be honest, I have no idea why there is such 
difference between win and Linux. `new 
File(".\\bin\\spark-submit").getAbsolutePath` here return me the path under 
`core`. I've tried `mvn` only though, `sbt` doesn't work well on windows. 


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