Browse Source

AMBARI-13584: Ambari stack definition for Spark has incorrect value for SPARK_CONF_DIR (Ram Venkatesh via jluniya)

Jayush Luniya 9 years ago
parent
commit
f2ce9db943

+ 1 - 1
ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/configuration/spark-env.xml

@@ -70,7 +70,7 @@
 # Generic options for the daemons used in the standalone deploy mode
 # Generic options for the daemons used in the standalone deploy mode
 
 
 # Alternate conf dir. (Default: ${SPARK_HOME}/conf)
 # Alternate conf dir. (Default: ${SPARK_HOME}/conf)
-export SPARK_CONF_DIR=${SPARK_HOME:-{{spark_home}}}/conf
+export SPARK_CONF_DIR=${SPARK_CONF_DIR:-{{spark_home}}}/conf
 
 
 # Where log files are stored.(Default:${SPARK_HOME}/logs)
 # Where log files are stored.(Default:${SPARK_HOME}/logs)
 #export SPARK_LOG_DIR=${SPARK_HOME:-{{spark_home}}}/logs
 #export SPARK_LOG_DIR=${SPARK_HOME:-{{spark_home}}}/logs