aboutsummaryrefslogtreecommitdiff
path: root/dev/create-release/release-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dev/create-release/release-build.sh')
-rwxr-xr-xdev/create-release/release-build.sh15
1 files changed, 8 insertions, 7 deletions
diff --git a/dev/create-release/release-build.sh b/dev/create-release/release-build.sh
index 2833dc7651..96f9b5714e 100755
--- a/dev/create-release/release-build.sh
+++ b/dev/create-release/release-build.sh
@@ -80,7 +80,7 @@ NEXUS_PROFILE=d63f592e7eac0 # Profile for Spark staging uploads
BASE_DIR=$(pwd)
MVN="build/mvn --force"
-PUBLISH_PROFILES="-Pyarn -Phive -Phive-thriftserver -Phadoop-2.2"
+PUBLISH_PROFILES="-Pmesos -Pyarn -Phive -Phive-thriftserver -Phadoop-2.2"
PUBLISH_PROFILES="$PUBLISH_PROFILES -Pspark-ganglia-lgpl -Pkinesis-asl"
rm -rf spark
@@ -186,12 +186,13 @@ if [[ "$1" == "package" ]]; then
# We increment the Zinc port each time to avoid OOM's and other craziness if multiple builds
# share the same Zinc server.
- make_binary_release "hadoop2.3" "-Psparkr -Phadoop-2.3 -Phive -Phive-thriftserver -Pyarn" "3033" &
- make_binary_release "hadoop2.4" "-Psparkr -Phadoop-2.4 -Phive -Phive-thriftserver -Pyarn" "3034" &
- make_binary_release "hadoop2.6" "-Psparkr -Phadoop-2.6 -Phive -Phive-thriftserver -Pyarn" "3035" &
- make_binary_release "hadoop2.7" "-Psparkr -Phadoop-2.7 -Phive -Phive-thriftserver -Pyarn" "3036" &
- make_binary_release "hadoop2.4-without-hive" "-Psparkr -Phadoop-2.4 -Pyarn" "3037" &
- make_binary_release "without-hadoop" "-Psparkr -Phadoop-provided -Pyarn" "3038" &
+ FLAGS="-Psparkr -Phive -Phive-thriftserver -Pyarn -Pmesos"
+ make_binary_release "hadoop2.3" "-Phadoop2.3 $FLAGS" "3033" &
+ make_binary_release "hadoop2.4" "-Phadoop2.4 $FLAGS" "3034" &
+ make_binary_release "hadoop2.6" "-Phadoop2.6 $FLAGS" "3035" &
+ make_binary_release "hadoop2.7" "-Phadoop2.7 $FLAGS" "3036" &
+ make_binary_release "hadoop2.4-without-hive" "-Psparkr -Phadoop-2.4 -Pyarn -Pmesos" "3037" &
+ make_binary_release "without-hadoop" "-Psparkr -Phadoop-provided -Pyarn -Pmesos" "3038" &
wait
rm -rf spark-$SPARK_VERSION-bin-*/