You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "khalidmammadov (via GitHub)" <gi...@apache.org> on 2023/01/29 21:00:39 UTC

[GitHub] [spark] khalidmammadov commented on a diff in pull request #39775: [SPARK-42219][CORE] Introducing a config to close all active SparkContexts after the Main method has finished

khalidmammadov commented on code in PR #39775:
URL: https://github.com/apache/spark/pull/39775#discussion_r1090050623


##########
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala:
##########
@@ -316,6 +316,14 @@ private[spark] object Config extends Logging {
       .stringConf
       .createOptional
 
+  val AUTO_STOP_ACTIVE_SPARK_CONTEXTS =
+    ConfigBuilder("spark.kubernetes.submit.autoStopActiveSparkContexts")
+      .version("3.5.0")
+      .doc("When set to true, on Kubernetes Spark will stop all the active Spark contexts after " +

Review Comment:
   What about phrasing it as: `When set to true, Spark on Kubernetes will stop all active Spark contexts once non-shell application' main methods are finished` instead?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org