aboutsummaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorMatei Zaharia <matei@eecs.berkeley.edu>2013-01-20 12:47:55 -0800
committerMatei Zaharia <matei@eecs.berkeley.edu>2013-01-20 12:47:55 -0800
commit86057ec7c868262763d1e31b3f3c94bd43eeafb3 (patch)
treecdde5e4264549bd10b67e4da73322391b922e14e /run
parent76ff962edcb7f41601c6c2d4fc6714bbc885faa7 (diff)
parent9f54d7e1f5a5e6f80b3d710de67f800bef943d33 (diff)
downloadspark-86057ec7c868262763d1e31b3f3c94bd43eeafb3.tar.gz
spark-86057ec7c868262763d1e31b3f3c94bd43eeafb3.tar.bz2
spark-86057ec7c868262763d1e31b3f3c94bd43eeafb3.zip
Merge branch 'master' into streaming
Conflicts: core/src/main/scala/spark/api/python/PythonRDD.scala
Diffstat (limited to 'run')
-rwxr-xr-xrun7
1 files changed, 7 insertions, 0 deletions
diff --git a/run b/run
index 7acbf3f3ff..060856007f 100755
--- a/run
+++ b/run
@@ -66,6 +66,13 @@ BAGEL_DIR="$FWDIR/bagel"
STREAMING_DIR="$FWDIR/streaming"
PYSPARK_DIR="$FWDIR/python"
+# Exit if the user hasn't compiled Spark
+if [ ! -e "$REPL_DIR/target" ]; then
+ echo "Failed to find Spark classes in $REPL_DIR/target" >&2
+ echo "You need to compile Spark before running this program" >&2
+ exit 1
+fi
+
# Build up classpath
CLASSPATH="$SPARK_CLASSPATH"
CLASSPATH+=":$FWDIR/conf"