Github user mridulm commented on a diff in the pull request: https://github.com/apache/spark/pull/19717#discussion_r153092633 --- 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) --- End diff -- Handle primary resource == `SparkLauncher.NO_RESOURCE` ?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org