Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/run-example
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
SCALA_VERSION=2.10

FWDIR="$(cd `dirname $0`/..; pwd)"
export SPARK_HOME="$FWDIR"
export SPARK_HOME=${SPARK_HOME:-"$FWDIR"}
EXAMPLES_DIR="$FWDIR"/examples

if [ -n "$1" ]; then
Expand Down
2 changes: 1 addition & 1 deletion bin/spark-submit
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# limitations under the License.
#

export SPARK_HOME="$(cd `dirname $0`/..; pwd)"
export SPARK_HOME=${SPARK_HOME:-"$(cd `dirname $0`/..; pwd)"}
ORIG_ARGS=("$@")

while (($#)); do
Expand Down