Skip to content

Commit d4800c1

Browse files
committedFeb 10, 2015
Merge pull request #97 from laserson/fix-spark-1.2.1
Add Spark 1.2.1 to init.sh
2 parents 0d70863 + 626ebee commit d4800c1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎spark/init.sh

+7
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,13 @@ else
109109
wget http://s3.amazonaws.com/spark-related-packages/spark-1.2.0-bin-cdh4.tgz
110110
fi
111111
;;
112+
1.2.1)
113+
if [[ "$HADOOP_MAJOR_VERSION" == "1" ]]; then
114+
wget http://s3.amazonaws.com/spark-related-packages/spark-1.2.1-bin-hadoop1.tgz
115+
else
116+
wget http://s3.amazonaws.com/spark-related-packages/spark-1.2.1-bin-cdh4.tgz
117+
fi
118+
;;
112119
*)
113120
echo "ERROR: Unknown Spark version"
114121
return

0 commit comments

Comments
 (0)