Skip to content

Commit 0561574

Browse files
committed
Copy over web resources so web interface can run
1 parent 4dc9809 commit 0561574

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

make-distribution.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,9 @@ if [ "$SPARK_TACHYON" == "true" ]; then
136136

137137
tar xf "tachyon-${TACHYON_VERSION}-bin.tar.gz"
138138
cp "tachyon-${TACHYON_VERSION}/target/tachyon-${TACHYON_VERSION}-jar-with-dependencies.jar" "$DISTDIR/jars"
139-
mkdir "$DISTDIR/sbin/tachyon"
139+
mkdir -p "$DISTDIR/sbin/tachyon/src/main/java/tachyon/web"
140140
cp -r "tachyon-${TACHYON_VERSION}"/{bin,conf,libexec} "$DISTDIR/sbin/tachyon"
141+
cp -r "tachyon-${TACHYON_VERSION}"/src/main/java/tachyon/web/resources "$DISTDIR/sbin/tachyon/src/main/java/tachyon/web"
141142
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"
142143

143144
popd > /dev/null

0 commit comments

Comments
 (0)