Skip to content

Commit fa21d09

Browse files
committed
clean package assembly/assembly
1 parent 8a4daf2 commit fa21d09

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

dev/run-tests

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ CURRENT_BLOCK=$BLOCK_BUILD
142142
# We always build with Hive because the PySpark Spark SQL tests need it.
143143
BUILD_MVN_PROFILE_ARGS="$SBT_MAVEN_PROFILES_ARGS -Phive -Phive-0.12.0"
144144

145-
echo "[info] Building Spark with these arguments: $BUILD_MVN_PROFILE_ARGS"
146145

147146
# NOTE: echo "q" is needed because sbt on encountering a build file with failure
148147
#+ (either resolution or compilation) prompts the user for input either q, r, etc
@@ -152,13 +151,15 @@ CURRENT_BLOCK=$BLOCK_BUILD
152151
# QUESTION: Why doesn't 'yes "q"' work?
153152
# QUESTION: Why doesn't 'grep -v -e "^\[info\] Resolving"' work?
154153
# First build with 0.12 to ensure patches do not break the hive 12 build
154+
echo "[info] Compile with hive 0.12"
155155
echo -e "q\n" \
156156
| sbt/sbt $BUILD_MVN_PROFILE_ARGS clean hive/compile hive-thriftserver/compile \
157157
| grep -v -e "info.*Resolving" -e "warn.*Merging" -e "info.*Including"
158158

159-
# Then build with default version(0.13.1) because tests based on this version
159+
# Then build with default version(0.13.1) because tests are based on this version
160+
echo "[info] Building Spark with these arguments: $SBT_MAVEN_PROFILES_ARGS -Phive"
160161
echo -e "q\n" \
161-
| sbt/sbt $SBT_MAVEN_PROFILES_ARGS -Phive clean assembly/assembly \
162+
| sbt/sbt $SBT_MAVEN_PROFILES_ARGS -Phive clean package assembly/assembly \
162163
| grep -v -e "info.*Resolving" -e "warn.*Merging" -e "info.*Including"
163164
}
164165

0 commit comments

Comments
 (0)