Skip to content

Commit

Permalink
Added HADOOP_CONF_DIR to reference.spark.conf.
Browse files Browse the repository at this point in the history
Points to `system.hadoop-2.path.config`.
The setting uses the HOCON optional syntax `${?...}` in order to ensure that
the configuration will resolve in setups without `hdfs-2.*` dependency.
  • Loading branch information
aalexandrov committed Sep 6, 2016
1 parent 9976652 commit 0c7f1e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions peel-extensions/src/main/resources/reference.spark.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ system {
slaves = ${system.default.config.slaves}
# spark-env.sh entries
env {
HADOOP_CONF_DIR = ${?system.hadoop-2.path.config}
JAVA_HOME = ${system.default.config.java.home}
SPARK_PID_DIR = "/tmp/spark-pid"
SPARK_MASTER_WEBUI_PORT = 8060
Expand Down

0 comments on commit 0c7f1e2

Please sign in to comment.