Github user liyinan926 commented on a diff in the pull request:
https://github.com/apache/spark/pull/19717#discussion_r153366681
--- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala ---
@@ -702,6 +715,18 @@ object SparkSubmit extends CommandLineUtils with
Logging {
}
}
+ if (isKubernetesCluster) {
+ childMainClass = "org.apache.spark.deploy.k8s.submit.Client"
+ childArgs ++= Array("--primary-java-resource", args.primaryResource)
+ childArgs ++= Array("--main-class", args.mainClass)
+ if (args.childArgs != null) {
+ args.childArgs.foreach { arg =>
+ childArgs += "--arg"
--- End diff --
Done.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]