File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ if [ ! $(command -v "$MVN") ] ; then
127
127
fi
128
128
129
129
VERSION=$( " $MVN " help:evaluate -Dexpression=project.version 2> /dev/null | grep -v " INFO" | tail -n 1)
130
+ SCALA_VERSION=$( " $MVN " help:evaluate -Dexpression=scala.binary.version 2> /dev/null | grep -v " INFO" | tail -n 1)
130
131
SPARK_HADOOP_VERSION=$( " $MVN " help:evaluate -Dexpression=hadoop.version $@ 2> /dev/null\
131
132
| grep -v " INFO" \
132
133
| tail -n 1)
@@ -196,7 +197,7 @@ echo "Build flags: $@" >> "$DISTDIR/RELEASE"
196
197
# Copy jars
197
198
cp " $SPARK_HOME " /assembly/target/scala* /* assembly* hadoop* .jar " $DISTDIR /lib/"
198
199
cp " $SPARK_HOME " /examples/target/scala* /spark-examples* .jar " $DISTDIR /lib/"
199
- cp " $SPARK_HOME " /launcher/target/scala * / spark-launcher * .jar " $DISTDIR /lib/"
200
+ cp " $SPARK_HOME " /launcher/target/spark-launcher_ $SCALA_VERSION - $VERSION .jar " $DISTDIR /lib/"
200
201
# This will fail if the -Pyarn profile is not provided
201
202
# In this case, silence the error and ignore the return code of this command
202
203
cp " $SPARK_HOME " /network/yarn/target/scala* /spark-* -yarn-shuffle.jar " $DISTDIR /lib/" & > /dev/null || :
You can’t perform that action at this time.
0 commit comments