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

Set absolute path for SPARK_HOME

parent 7da569e8
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
FWDIR=`dirname $0`
FWDIR="`dirname $0`"
if [ "x$SPARK_MEM" == "x" ]; then
export SPARK_MEM=500m
fi
......
#!/bin/bash
# Figure out where the Scala framework is installed
FWDIR=`dirname $0`
FWDIR="$(cd `dirname $0`; pwd)"
# Export this as SPARK_HOME
export SPARK_HOME="$FWDIR"
......
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