Skip to content

Commit cdd80b8

Browse files
committed
[SPARK-16453] [BUILD] [BRANCH-1.6] release-build.sh is missing hive-thriftserver for scala 2.10
1 parent ace458f commit cdd80b8

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

dev/create-release/release-build.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ NEXUS_PROFILE=d63f592e7eac0 # Profile for Spark staging uploads
8080
BASE_DIR=$(pwd)
8181

8282
MVN="build/mvn --force"
83-
PUBLISH_PROFILES="-Pyarn -Phive -Phadoop-2.2"
83+
PUBLISH_PROFILES="-Pyarn -Phive -Phive-thriftserver -Phadoop-2.2"
8484
PUBLISH_PROFILES="$PUBLISH_PROFILES -Pspark-ganglia-lgpl -Pkinesis-asl"
8585

8686
rm -rf spark
@@ -256,8 +256,7 @@ if [[ "$1" == "publish-snapshot" ]]; then
256256
# Generate random point for Zinc
257257
export ZINC_PORT=$(python -S -c "import random; print random.randrange(3030,4030)")
258258

259-
$MVN -DzincPort=$ZINC_PORT --settings $tmp_settings -DskipTests $PUBLISH_PROFILES \
260-
-Phive-thriftserver deploy
259+
$MVN -DzincPort=$ZINC_PORT --settings $tmp_settings -DskipTests $PUBLISH_PROFILES deploy
261260
./dev/change-scala-version.sh 2.11
262261
$MVN -DzincPort=$ZINC_PORT -Dscala-2.11 --settings $tmp_settings \
263262
-DskipTests $PUBLISH_PROFILES clean deploy
@@ -293,8 +292,7 @@ if [[ "$1" == "publish-release" ]]; then
293292
# Generate random point for Zinc
294293
export ZINC_PORT=$(python -S -c "import random; print random.randrange(3030,4030)")
295294

296-
$MVN -DzincPort=$ZINC_PORT -Dmaven.repo.local=$tmp_repo -DskipTests $PUBLISH_PROFILES \
297-
-Phive-thriftserver clean install
295+
$MVN -DzincPort=$ZINC_PORT -Dmaven.repo.local=$tmp_repo -DskipTests $PUBLISH_PROFILES clean install
298296

299297
./dev/change-scala-version.sh 2.11
300298

docs/building-spark.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,6 @@ To produce a Spark package compiled with Scala 2.11, use the `-Dscala-2.11` prop
129129
./dev/change-scala-version.sh 2.11
130130
mvn -Pyarn -Phadoop-2.4 -Dscala-2.11 -DskipTests clean package
131131

132-
Spark does not yet support its JDBC component for Scala 2.11.
133-
134132
# Spark Tests in Maven
135133

136134
Tests are run by default via the [ScalaTest Maven plugin](http://www.scalatest.org/user_guide/using_the_scalatest_maven_plugin).

0 commit comments

Comments
 (0)