You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/07/22 12:52:24 UTC

[GitHub] [spark] skonto commented on a change in pull request #25229: [SPARK-27900][K8s] Add jvm oom flag

skonto commented on a change in pull request #25229: [SPARK-27900][K8s] Add jvm oom flag
URL: https://github.com/apache/spark/pull/25229#discussion_r305828312
 
 

 ##########
 File path: resource-managers/kubernetes/docker/src/main/dockerfiles/spark/entrypoint.sh
 ##########
 @@ -65,6 +65,7 @@ case "$1" in
     shift 1
     CMD=(
       "$SPARK_HOME/bin/spark-submit"
+      --driver-java-options '-XX:OnOutOfMemoryError="kill -9 %p"'
 
 Review comment:
   We are in client mode so best to use this arg. Also this is going to be parsed by the `SparkSubmitCommandBuilder` later on.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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