You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by xx...@apache.org on 2021/04/19 12:56:09 UTC

[kylin] branch master updated: KYLIN-4979 Fix flink shaded jar version error in download-flink.sh

This is an automated email from the ASF dual-hosted git repository.

xxyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/master by this push:
     new 1c41baf  KYLIN-4979 Fix flink shaded jar version error in download-flink.sh
1c41baf is described below

commit 1c41baf008ad6444ec4b036f9e62687aacbcfae4
Author: yaqian.zhang <59...@qq.com>
AuthorDate: Mon Apr 19 19:23:17 2021 +0800

    KYLIN-4979 Fix flink shaded jar version error in download-flink.sh
---
 build/bin/download-flink.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/build/bin/download-flink.sh b/build/bin/download-flink.sh
index 6ef1a26..1287252 100755
--- a/build/bin/download-flink.sh
+++ b/build/bin/download-flink.sh
@@ -37,9 +37,10 @@ fi
 
 flink_version="1.11.1"
 scala_version="2.11"
-flink_shaded_hadoop_version="3.1.1.7.1.1.0-565-9.0"
+flink_shaded_version="10.0"
+hadoop_version="2.7.5"
 flink_pkg_md5="3b7aa59b44add1a0625737f6516e0929"
-flink_shaded_hadoop_md5="7b78e546dd93f4facd322921f29de1eb"
+flink_shaded_hadoop_md5="4287a314bfb09a3dc957cbda3f91d7ca"
 
 if [ ! -f "flink-${flink_version}-bin-scala_${scala_version}.tgz" ]; then
     echo "No binary file found, start to download package to ${flink_package_dir}"
@@ -52,8 +53,8 @@ else
     fi
 fi
 
-flink_shaded_hadoop_jar="flink-shaded-hadoop-3-uber-${flink_shaded_hadoop_version}.jar"
-flink_shaded_hadoop_path="https://repository.cloudera.com/artifactory/libs-release-local/org/apache/flink/flink-shaded-hadoop-3-uber/${flink_shaded_hadoop_version}/${flink_shaded_hadoop_jar}"
+flink_shaded_hadoop_jar="flink-shaded-hadoop-2-uber-${hadoop_version}-${flink_shaded_version}.jar"
+flink_shaded_hadoop_path="https://repo.maven.apache.org/maven2/org/apache/flink/flink-shaded-hadoop-2-uber/${hadoop_version}-${flink_shaded_version}/${flink_shaded_hadoop_jar}"
 
 if [ ! -f $flink_shaded_hadoop_jar ]; then
     echo "Start to download $flink_shaded_hadoop_jar"