This is an automated email from the ASF dual-hosted git repository.
xianjingfeng pushed a commit to branch branch-0.8
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git
The following commit(s) were added to refs/heads/branch-0.8 by this push:
new 4c3c70366 [MINOR] fix: missing to build spark shaded modules (#1282)
4c3c70366 is described below
commit 4c3c70366b166b3843b81d2155b5f9eb2d5681cc
Author: xianjingfeng <[email protected]>
AuthorDate: Tue Oct 31 15:54:35 2023 +0800
[MINOR] fix: missing to build spark shaded modules (#1282)
### What changes were proposed in this pull request?
Building spark shaded modules in build_distribution.sh
### Why are the changes needed?
Spark shaded clients will be miss without this pr.
### Does this PR introduce any user-facing change?
No.
### How was this patch tested?
Manually execute build_distribution.sh
(cherry picked from commit 73ae3425b14418438cb9d68b5453b119b77ee987)
---
build_distribution.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build_distribution.sh b/build_distribution.sh
index a15f0ae9a..f3c413e78 100755
--- a/build_distribution.sh
+++ b/build_distribution.sh
@@ -179,7 +179,7 @@ cp "${RSS_HOME}"/cli/target/jars/* ${CLI_JAR_DIR}
CLIENT_JAR_DIR="${DISTDIR}/jars/client"
mkdir -p $CLIENT_JAR_DIR
-BUILD_COMMAND_SPARK2=("$MVN" clean package -P$SPARK2_PROFILE_ID -pl
client-spark/spark2 -DskipTests -am $@ $SPARK2_MVN_OPTS)
+BUILD_COMMAND_SPARK2=("$MVN" clean package -P$SPARK2_PROFILE_ID -pl
client-spark/spark2-shaded -DskipTests -am $@ $SPARK2_MVN_OPTS)
# Actually build the jar
echo -e "\nBuilding with..."
@@ -194,7 +194,7 @@
SPARK_CLIENT2_JAR="${RSS_HOME}/client-spark/spark2-shaded/target/rss-client-spar
echo "copy $SPARK_CLIENT2_JAR to ${SPARK_CLIENT2_JAR_DIR}"
cp $SPARK_CLIENT2_JAR ${SPARK_CLIENT2_JAR_DIR}
-BUILD_COMMAND_SPARK3=("$MVN" clean package -P$SPARK3_PROFILE_ID -pl
client-spark/spark3 -DskipTests -am $@ $SPARK3_MVN_OPTS)
+BUILD_COMMAND_SPARK3=("$MVN" clean package -P$SPARK3_PROFILE_ID -pl
client-spark/spark3-shaded -DskipTests -am $@ $SPARK3_MVN_OPTS)
echo -e "\nBuilding with..."
echo -e "\$ ${BUILD_COMMAND_SPARK3[@]}\n"