You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by al...@apache.org on 2017/11/20 17:07:08 UTC

flink git commit: [hotfix] Always explicitly set hadoop.version in create_binary_release

Repository: flink
Updated Branches:
  refs/heads/master 92627b642 -> 80cd586b1


[hotfix] Always explicitly set hadoop.version in create_binary_release

Before, the "hadoop2" profile would create a binary release for whatever
happens to be the default hadoop.version.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/80cd586b
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/80cd586b
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/80cd586b

Branch: refs/heads/master
Commit: 80cd586b13d517c9f6b6376104dba0e018c3b8a0
Parents: 92627b6
Author: Aljoscha Krettek <al...@gmail.com>
Authored: Mon Nov 20 18:06:11 2017 +0100
Committer: Aljoscha Krettek <al...@gmail.com>
Committed: Mon Nov 20 18:06:11 2017 +0100

----------------------------------------------------------------------
 tools/releasing/create_binary_release.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/80cd586b/tools/releasing/create_binary_release.sh
----------------------------------------------------------------------
diff --git a/tools/releasing/create_binary_release.sh b/tools/releasing/create_binary_release.sh
index 42b5a8e..3b1508e 100755
--- a/tools/releasing/create_binary_release.sh
+++ b/tools/releasing/create_binary_release.sh
@@ -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"
@@ -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"