diff --git a/bin/start-slaves.sh b/bin/start-slaves.sh
index eb7663101b7846c452269fb2a6b206704e50d523..f348ea063fade59245201b23edfcd81a1e327e0d 100755
--- a/bin/start-slaves.sh
+++ b/bin/start-slaves.sh
@@ -5,6 +5,10 @@ bin=`cd "$bin"; pwd`
 
 . "$bin/spark-config.sh"
 
+if [ -f "${SPARK_CONF_DIR}/spark-env.sh" ]; then
+  . "${SPARK_CONF_DIR}/spark-env.sh"
+fi
+
 # Find the port number for the master
 if [ "$SPARK_MASTER_PORT" = "" ]; then
   SPARK_MASTER_PORT=7077