Skip to content

Commit

Permalink
[hotfix] Always explicitly set hadoop.version in create_binary_release
Browse files Browse the repository at this point in the history
Before, the "hadoop2" profile would create a binary release for whatever
happens to be the default hadoop.version.
  • Loading branch information
aljoscha committed Nov 20, 2017
1 parent 92627b6 commit 80cd586
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/releasing/create_binary_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ cd ..


if [ "$SCALA_VERSION" == "none" ] && [ "$HADOOP_VERSION" == "none" ]; then
make_binary_release "hadoop2" "" "2.11"
make_binary_release "hadoop24" "-Dhadoop.version=2.4.1" "2.11"
make_binary_release "hadoop26" "-Dhadoop.version=2.6.5" "2.11"
make_binary_release "hadoop27" "-Dhadoop.version=2.7.3" "2.11"
make_binary_release "hadoop28" "-Dhadoop.version=2.8.0" "2.11"
Expand All @@ -87,7 +87,7 @@ then
make_binary_release "hadoop2" "-Dhadoop.version=$HADOOP_VERSION" "2.11"
elif [ "$SCALA_VERSION" != none ] && [ "$HADOOP_VERSION" == "none" ]
then
make_binary_release "hadoop2" "" "$SCALA_VERSION"
make_binary_release "hadoop24" "-Dhadoop.version=2.4.1" "$SCALA_VERSION"
make_binary_release "hadoop26" "-Dhadoop.version=2.6.5" "$SCALA_VERSION"
make_binary_release "hadoop27" "-Dhadoop.version=2.7.3" "$SCALA_VERSION"
make_binary_release "hadoop28" "-Dhadoop.version=2.8.0" "$SCALA_VERSION"
Expand Down

0 comments on commit 80cd586

Please sign in to comment.