You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Makes assembly and examples jar naming consistent in maven/sbt.
2. Updates make-distribution.sh to use Maven and fixes some bugs.
3. Updates the create-release script to call make-distribution script.
nl=$'\n'; sed -i "" -e "s|export TACHYON_JAR=\$TACHYON_HOME/target/\(.*\)|# This is set for spark's make-distribution\\$nl export TACHYON_JAR=\$TACHYON_HOME/../jars/\1|""$DISTDIR/tachyon/libexec/tachyon-config.sh"
168
+
nl=$'\n'; sed -i "" -e "s|export TACHYON_JAR=\$TACHYON_HOME/target/\(.*\)|# This is set for spark's make-distribution\\$nl export TACHYON_JAR=\$TACHYON_HOME/../lib/\1|""$DISTDIR/tachyon/libexec/tachyon-config.sh"
146
169
else
147
-
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/tachyon/libexec/tachyon-config.sh"
170
+
sed -i "s|export TACHYON_JAR=\$TACHYON_HOME/target/\(.*\)|# This is set for spark's make-distribution\n export TACHYON_JAR=\$TACHYON_HOME/../lib/\1|""$DISTDIR/tachyon/libexec/tachyon-config.sh"
148
171
fi
149
172
150
173
popd> /dev/null
151
174
rm -rf $TMPD
152
175
fi
153
176
154
177
if [ "$MAKE_TGZ"=="true" ];then
155
-
TARDIR="$FWDIR/spark-$VERSION"
178
+
TARDIR_NAME=spark-$VERSION-bin-$NAME
179
+
TARDIR="$FWDIR/$TARDIR_NAME"
156
180
cp -r "$DISTDIR""$TARDIR"
157
-
tar -zcf"spark-$VERSION-hadoop_$SPARK_HADOOP_VERSION-bin.tar.gz" -C "$FWDIR""spark-$VERSION"
181
+
tar czf"spark-$VERSION-bin-$NAME.tgz" -C "$FWDIR""$TARDIR_NAME"
0 commit comments