Github user taoli91 commented on a diff in the pull request:
https://github.com/apache/spark/pull/12696#discussion_r61046959
--- 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 --
I need to verify this. It's wired but if I remember correctly, the current
working directory for windows is different from that of Linux. Using
`./bin/spark-submit` causes script not found error.
---
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]