aboutsummaryrefslogtreecommitdiff
path: root/spark-class
diff options
context:
space:
mode:
Diffstat (limited to 'spark-class')
-rwxr-xr-xspark-class4
1 files changed, 2 insertions, 2 deletions
diff --git a/spark-class b/spark-class
index 5ef3de9773..244b78b4e1 100755
--- a/spark-class
+++ b/spark-class
@@ -102,10 +102,10 @@ export JAVA_OPTS
if [ ! -f "$FWDIR/RELEASE" ]; then
# Exit if the user hasn't compiled Spark
- ls "$FWDIR"/assembly/target/scala-$SCALA_VERSION/spark-assembly*.jar >& /dev/null
+ ls "$FWDIR"/assembly/target/scala-$SCALA_VERSION/spark-assembly*hadoop*.jar >& /dev/null
if [[ $? != 0 ]]; then
echo "Failed to find Spark assembly in $FWDIR/assembly/target" >&2
- echo "You need to compile Spark before running this program" >&2
+ echo "You need to build Spark with sbt/sbt assembly before running this program" >&2
exit 1
fi
fi