Github user vanzin commented on a diff in the pull request: https://github.com/apache/spark/pull/19717#discussion_r155845669 --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala --- @@ -380,6 +380,10 @@ class SparkContext(config: SparkConf) extends Logging { "Deployment to YARN is not supported directly by SparkContext. Please use spark-submit.") } + if (master.startsWith("k8s") && deployMode == "client") { --- End diff -- Can you do this in `KubernetesClusterManager` instead?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org