@@ -140,7 +140,7 @@ CURRENT_BLOCK=$BLOCK_BUILD
140140
141141{
142142 # We always build with Hive because the PySpark Spark SQL tests need it.
143- BUILD_MVN_PROFILE_ARGS=" $SBT_MAVEN_PROFILES_ARGS -Phive -Phive-thriftserver -Phive- 0.12.0"
143+ BUILD_MVN_PROFILE_ARGS=" $SBT_MAVEN_PROFILES_ARGS -Phive -Phive-0.12.0"
144144
145145 # NOTE: echo "q" is needed because sbt on encountering a build file with failure
146146 # + (either resolution or compilation) prompts the user for input either q, r, etc
@@ -151,15 +151,15 @@ CURRENT_BLOCK=$BLOCK_BUILD
151151 # QUESTION: Why doesn't 'grep -v -e "^\[info\] Resolving"' work?
152152 # First build with 0.12 to ensure patches do not break the hive 12 build.
153153 echo " [info] Compile with hive 0.12"
154- echo -e " q\n" \
155- | sbt/sbt $BUILD_MVN_PROFILE_ARGS clean hive/compile hive-thriftserver/compile \
156- | grep -v -e " info.*Resolving" -e " warn.*Merging" -e " info.*Including"
154+ # echo -e "q\n" \
155+ # | sbt/sbt $BUILD_MVN_PROFILE_ARGS clean hive/compile hive-thriftserver/compile \
156+ # | grep -v -e "info.*Resolving" -e "warn.*Merging" -e "info.*Including"
157157
158158 # Then build with default version(0.13.1) because tests are based on this version
159159 echo " [info] Building Spark with these arguments: $SBT_MAVEN_PROFILES_ARGS " \
160160 " -Phive -Phive-thriftserver"
161161 echo -e " q\n" \
162- | sbt/sbt $SBT_MAVEN_PROFILES_ARGS -Phive -Phive-thriftserver package assembly/assembly \
162+ | sbt/sbt $SBT_MAVEN_PROFILES_ARGS -Phive package assembly/assembly \
163163 | grep -v -e " info.*Resolving" -e " warn.*Merging" -e " info.*Including"
164164}
165165
@@ -174,7 +174,7 @@ CURRENT_BLOCK=$BLOCK_SPARK_UNIT_TESTS
174174 # If the Spark SQL tests are enabled, run the tests with the Hive profiles enabled.
175175 # This must be a single argument, as it is.
176176 if [ -n " $_RUN_SQL_TESTS " ]; then
177- SBT_MAVEN_PROFILES_ARGS=" $SBT_MAVEN_PROFILES_ARGS -Phive -Phive-thriftserver "
177+ SBT_MAVEN_PROFILES_ARGS=" $SBT_MAVEN_PROFILES_ARGS -Phive"
178178 fi
179179
180180 if [ -n " $_SQL_TESTS_ONLY " ]; then
0 commit comments