This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

add hadoop2.4 to any tachyon version

  • Loading branch information...
uronce-cc committed Jun 18, 2015
1 parent a8d38ee commit d331a7e24f430ebcc476e27f4d36a3644de28a94
Showing with 3 additions and 1 deletion.
  1. +3 −1 tachyon/init.sh
View
@@ -50,8 +50,10 @@ else
*)
if [[ "$HADOOP_MAJOR_VERSION" == "1" ]]; then
wget https://s3.amazonaws.com/Tachyon/tachyon-$TACHYON_VERSION-bin.tar.gz
- else
+ elif [[ "$HADOOP_MAJOR_VERSION" == "2" ]]; then
wget https://s3.amazonaws.com/Tachyon/tachyon-$TACHYON_VERSION-cdh4-bin.tar.gz
+ else
+ wget https://s3.amazonaws.com/Tachyon/tachyon-$TACHYON_VERSION-hadoop2.4-bin.tar.gz
fi
if [ $? != 0 ]; then
echo "ERROR: Unknown Tachyon version"

0 comments on commit d331a7e

Please sign in to comment.