Skip to content

Commit d00eca7

Browse files
Marcelo Vanzindongjoon-hyun
Marcelo Vanzin
authored andcommitted
[SPARK-26048][BUILD] Enable flume profile when creating 2.x releases.
Closes #23931 from vanzin/SPARK-26048. Authored-by: Marcelo Vanzin <vanzin@cloudera.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
1 parent be5d95a commit d00eca7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dev/create-release/release-build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,17 @@ SCALA_2_11_PROFILES=
116116
if [[ $SPARK_VERSION > "2.3" ]]; then
117117
BASE_PROFILES="$BASE_PROFILES -Pkubernetes"
118118
if [[ $SPARK_VERSION < "3.0." ]]; then
119-
SCALA_2_11_PROFILES="-Pkafka-0-8"
119+
SCALA_2_11_PROFILES="-Pkafka-0-8 -Pflume"
120120
fi
121121
else
122122
PUBLISH_SCALA_2_10=1
123123
fi
124124

125125
PUBLISH_SCALA_2_12=0
126126
SCALA_2_12_PROFILES="-Pscala-2.12"
127+
if [[ $SPARK_VERSION < "3.0." ]]; then
128+
SCALA_2_12_PROFILES="-Pflume"
129+
fi
127130
if [[ $SPARK_VERSION > "2.4" ]]; then
128131
PUBLISH_SCALA_2_12=1
129132
fi

0 commit comments

Comments
 (0)