@@ -53,7 +53,7 @@ function handle_error () {
5353 fi
5454}
5555
56- export SBT_MAVEN_PROFILES_ARGS=" $SBT_MAVEN_PROFILES_ARGS -Pkinesis-asl -Pscala-2.11 "
56+ export SBT_MAVEN_PROFILES_ARGS=" $SBT_MAVEN_PROFILES_ARGS -Pkinesis-asl"
5757
5858# Determine Java path and version.
5959{
@@ -142,22 +142,22 @@ 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+
145146 # NOTE: echo "q" is needed because sbt on encountering a build file with failure
146147 # + (either resolution or compilation) prompts the user for input either q, r, etc
147148 # + to quit or retry. This echo is there to make it not block.
148149 # NOTE: Do not quote $BUILD_MVN_PROFILE_ARGS or else it will be interpreted as a
149150 # + single argument!
150151 # QUESTION: Why doesn't 'yes "q"' work?
151152 # QUESTION: Why doesn't 'grep -v -e "^\[info\] Resolving"' work?
152- # First build with 0.12 to ensure patches do not break the hive 12 build.
153+ # First build with 0.12 to ensure patches do not break the hive 12 build
153154 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"
155+ echo -e " q\n" \
156+ | sbt/sbt $BUILD_MVN_PROFILE_ARGS clean hive/compile hive-thriftserver/compile \
157+ | grep -v -e " info.*Resolving" -e " warn.*Merging" -e " info.*Including"
157158
158159 # Then build with default version(0.13.1) because tests are based on this version
159- echo " [info] Building Spark with these arguments: $SBT_MAVEN_PROFILES_ARGS " \
160- " -Phive -Phive-thriftserver"
160+ echo " [info] Building Spark with these arguments: $SBT_MAVEN_PROFILES_ARGS -Phive"
161161 echo -e " q\n" \
162162 | sbt/sbt $SBT_MAVEN_PROFILES_ARGS -Phive package assembly/assembly \
163163 | grep -v -e " info.*Resolving" -e " warn.*Merging" -e " info.*Including"
0 commit comments