LuciferYang commented on code in PR #56448:
URL: https://github.com/apache/spark/pull/56448#discussion_r3396455396


##########
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/config/package.scala:
##########
@@ -348,6 +348,15 @@ package object config extends Logging {
       .stringConf
       .createOptional
 
+  private[spark] val YARN_EXECUTOR_OOM_KILL_ENABLED =
+    ConfigBuilder("spark.yarn.executor.oomKill.enabled")
+      .doc("Whether to add `-XX:OnOutOfMemoryError='kill %p'` (or its 
counterpart on Windows) " +
+        "to executor JVM options.")
+      .version("4.3.0")
+      .withBindingPolicy(ConfigBindingPolicy.NOT_APPLICABLE)
+      .booleanConf
+      .createWithDefault(true)

Review Comment:
   The default value is true. Would this constitute a user-facing change?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to