Skip to content
Snippets Groups Projects
Commit c6235b51 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Merge pull request #714 from adatao/master

[BUGFIX]  Fix for sbt/sbt script SPARK_HOME setting
parents 009c79e5 a1d2c343
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ if [ "$MESOS_HOME" != "" ]; then
EXTRA_ARGS="-Djava.library.path=$MESOS_HOME/lib/java"
fi
export SPARK_HOME=$(cd "$(dirname $0)/.."; pwd)
export SPARK_HOME=$(cd "$(dirname $0)/.." 2>&1 >/dev/null ; pwd)
export SPARK_TESTING=1 # To put test classes on classpath
java -Xmx1200m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=128m $EXTRA_ARGS -jar $SPARK_HOME/sbt/sbt-launch-*.jar "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment