GitHub user rdblue opened a pull request:
https://github.com/apache/spark/pull/20645
SPARK-23472: Add defaultJavaOptions for drivers and executors.
## What changes were proposed in this pull request?
This adds two new config properties: spark.driver.defaultJavaOptions and
spark.executor.defaultJavaOptions. These are intended to be set by
administrators in a file of defaults for options like JVM garbage collection
algorithm. Users will still set `extraJavaOptions` properties, and both sets of
JVM options will be added to start a JVM. Otherwise, it is difficult for
administrators to add properties that are not clobbered when users change their
JVM options.
## How was this patch tested?
We have had this deployed to production for several weeks. If there is a
place to add command-line options tests, please let me know and I'll add them.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rdblue/spark
SPARK-23476-add-default-jvm-options
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20645.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #20645
----
commit 89ee1f330047c6c8a986e62e8201d9b7890cf4c8
Author: Ryan Blue <blue@...>
Date: 2018-01-29T18:59:10Z
SPARK-23472: Add defaultJavaOptions for drivers and executors.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]