Skip to content

Commit

Permalink
Properly set SPARK_HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
dszeto committed Apr 14, 2015
1 parent 9e3358c commit 9df3c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ rm -rf ${spark_dir}
mv spark-${SPARK_VERSION}-bin-hadoop2.4 ${spark_dir}

echo "Updating: $pio_dir/conf/pio-env.sh"
${SED_CMD} "s|SPARK_HOME=/path_to_apache_spark|SPARK_HOME=$spark_dir|g" ${pio_dir}/conf/pio-env.sh
${SED_CMD} "s|SPARK_HOME=.*|SPARK_HOME=$spark_dir|g" ${pio_dir}/conf/pio-env.sh

echo -e "\033[1;32mSpark setup done!\033[0m"

Expand Down

0 comments on commit 9df3c74

Please sign in to comment.