aboutsummaryrefslogtreecommitdiff
path: root/make-distribution.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make-distribution.sh')
-rwxr-xr-xmake-distribution.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/make-distribution.sh b/make-distribution.sh
index 70aff418c7..846548617a 100755
--- a/make-distribution.sh
+++ b/make-distribution.sh
@@ -50,6 +50,11 @@ SPARK_HADOOP_VERSION=1.0.4
SPARK_WITH_YARN=false
MAKE_TGZ=false
+# Load configuration
+if [ -f "$FWDIR/conf/spark-env.sh" ]; then
+ source "$FWDIR/conf/spark-env.sh"
+fi
+
# Parse arguments
while (( "$#" )); do
case $1 in