aboutsummaryrefslogtreecommitdiff
path: root/docs/configuration.md
diff options
context:
space:
mode:
authorEugenCepoi <cepoi.eugen@gmail.com>2014-10-03 10:03:15 -0700
committerAndrew Or <andrewor14@gmail.com>2014-10-03 10:03:15 -0700
commitf0811f928e5b608e1a2cba3b6828ba0ed03b701d (patch)
tree97a17a42d3825dcadf332a4d510d24deb973d00c /docs/configuration.md
parent2e4eae3a52e3d04895b00447d1ac56ae3c1b98ae (diff)
downloadspark-f0811f928e5b608e1a2cba3b6828ba0ed03b701d.tar.gz
spark-f0811f928e5b608e1a2cba3b6828ba0ed03b701d.tar.bz2
spark-f0811f928e5b608e1a2cba3b6828ba0ed03b701d.zip
SPARK-2058: Overriding SPARK_HOME/conf with SPARK_CONF_DIR
Update of PR #997. With this PR, setting SPARK_CONF_DIR overrides SPARK_HOME/conf (not only spark-defaults.conf and spark-env). Author: EugenCepoi <cepoi.eugen@gmail.com> Closes #2481 from EugenCepoi/SPARK-2058 and squashes the following commits: 0bb32c2 [EugenCepoi] use orElse orNull and fixing trailing percent in compute-classpath.cmd 77f35d7 [EugenCepoi] SPARK-2058: Overriding SPARK_HOME/conf with SPARK_CONF_DIR
Diffstat (limited to 'docs/configuration.md')
-rw-r--r--docs/configuration.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index 316490f0f4..a782809a55 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -1108,3 +1108,10 @@ compute `SPARK_LOCAL_IP` by looking up the IP of a specific network interface.
Spark uses [log4j](http://logging.apache.org/log4j/) for logging. You can configure it by adding a
`log4j.properties` file in the `conf` directory. One way to start is to copy the existing
`log4j.properties.template` located there.
+
+# Overriding configuration directory
+
+To specify a different configuration directory other than the default "SPARK_HOME/conf",
+you can set SPARK_CONF_DIR. Spark will use the the configuration files (spark-defaults.conf, spark-env.sh, log4j.properties, etc)
+from this directory.
+