diff options
author | Joseph K. Bradley <joseph@databricks.com> | 2014-12-04 00:59:32 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2014-12-04 00:59:32 -0800 |
commit | 529439bd506949f272a2b6f099ea549b097428f3 (patch) | |
tree | 14561629a4afca0b4e6e17f41a28d7f4c547775d /docs/running-on-yarn.md | |
parent | c6c7165e7ecf1690027d6bd4e0620012cd0d2310 (diff) | |
download | spark-529439bd506949f272a2b6f099ea549b097428f3.tar.gz spark-529439bd506949f272a2b6f099ea549b097428f3.tar.bz2 spark-529439bd506949f272a2b6f099ea549b097428f3.zip |
[docs] Fix outdated comment in tuning guide
When you use the SPARK_JAVA_OPTS env variable, Spark complains:
```
SPARK_JAVA_OPTS was detected (set to ' -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps ').
This is deprecated in Spark 1.0+.
Please instead use:
- ./spark-submit with conf/spark-defaults.conf to set defaults for an application
- ./spark-submit with --driver-java-options to set -X options for a driver
- spark.executor.extraJavaOptions to set -X options for executors
- SPARK_DAEMON_JAVA_OPTS to set java options for standalone daemons (master or worker)
```
This updates the docs to redirect the user to the relevant part of the configuration docs.
CC: mengxr but please CC someone else as needed
Author: Joseph K. Bradley <joseph@databricks.com>
Closes #3592 from jkbradley/tuning-doc and squashes the following commits:
0760ce1 [Joseph K. Bradley] fixed outdated comment in tuning guide
Diffstat (limited to 'docs/running-on-yarn.md')
0 files changed, 0 insertions, 0 deletions