Skip to content

Commit

Permalink
Copy over web resources so web interface can run
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklan committed Mar 18, 2014
1 parent 4dc9809 commit 0561574
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion make-distribution.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,9 @@ if [ "$SPARK_TACHYON" == "true" ]; then

tar xf "tachyon-${TACHYON_VERSION}-bin.tar.gz"
cp "tachyon-${TACHYON_VERSION}/target/tachyon-${TACHYON_VERSION}-jar-with-dependencies.jar" "$DISTDIR/jars"
mkdir "$DISTDIR/sbin/tachyon"
mkdir -p "$DISTDIR/sbin/tachyon/src/main/java/tachyon/web"
cp -r "tachyon-${TACHYON_VERSION}"/{bin,conf,libexec} "$DISTDIR/sbin/tachyon"
cp -r "tachyon-${TACHYON_VERSION}"/src/main/java/tachyon/web/resources "$DISTDIR/sbin/tachyon/src/main/java/tachyon/web"
sed -i "s|export TACHYON_JAR=\$TACHYON_HOME/target/\(.*\)|# This is set for spark's make-distribution\n export TACHYON_JAR=\$TACHYON_HOME/../../jars/\1|" "$DISTDIR/sbin/tachyon/libexec/tachyon-config.sh"

popd > /dev/null
Expand Down

0 comments on commit 0561574

Please sign in to comment.