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 8c98805 Skip flink dependency. 8c98805 is described below commit 8c98805099721866a5d475e5f16256b1cae9bd5f Author: XiaoxiangYu <hit_la...@126.com> AuthorDate: Wed Mar 4 11:36:15 2020 +0800 Skip flink dependency. --- build/bin/find-flink-dependency.sh | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/build/bin/find-flink-dependency.sh b/build/bin/find-flink-dependency.sh index ae26dfd..4485730 100755 --- a/build/bin/find-flink-dependency.sh +++ b/build/bin/find-flink-dependency.sh @@ -37,15 +37,16 @@ fi if [ ! -d "$flink_home/lib" ] then - quit "flink not found, set FLINK_HOME, or run bin/download-flink.sh" -fi - -flink_dependency=`find -L $flink_home/lib -name '*.jar' ! -name '*shaded-hadoop*' ! -name 'kafka*' ! -name '*log4j*' ! -name '*slf4j*' ! -name '*calcite*' ! -name '*doc*' ! -name '*test*' ! -name '*sources*' ''-printf '%p:' | sed 's/:$//'` -if [ -z "$flink_dependency" ] -then - quit "flink jars not found" -else - verbose "flink dependency: $flink_dependency" - export flink_dependency -fi -echo "export flink_dependency=$flink_dependency" > ${dir}/cached-flink-dependency.sh \ No newline at end of file + echo "Optional dependency flink not found, if you need this; set FLINK_HOME, or run bin/download-flink.sh" + echo "echo 'skip flink_dependency'" > ${dir}/cached-flink-dependency.sh + else + flink_dependency=`find -L $flink_home/lib -name '*.jar' ! -name '*shaded-hadoop*' ! -name 'kafka*' ! -name '*log4j*' ! -name '*slf4j*' ! -name '*calcite*' ! -name '*doc*' ! -name '*test*' ! -name '*sources*' ''-printf '%p:' | sed 's/:$//'` + if [ -z "$flink_dependency" ] + then + quit "flink jars not found" + else + verbose "flink dependency: $flink_dependency" + export flink_dependency + fi + echo "export flink_dependency=$flink_dependency" > ${dir}/cached-flink-dependency.sh +fi \ No newline at end of file