This is an automated email from the ASF dual-hosted git repository. shaofengshi pushed a commit to branch 2.5.x-hadoop3.1 in repository https://gitbox.apache.org/repos/asf/kylin.git
commit cfa54987af3d7cd5480e38f4a679489965af98d2 Author: shaofengshi <shaofeng...@apache.org> AuthorDate: Tue Aug 28 11:47:03 2018 +0800 Update scripts for HDP 3.0 --- build/bin/find-hive-dependency.sh | 2 +- build/bin/find-spark-dependency.sh | 2 +- build/script/download-tomcat.sh | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build/bin/find-hive-dependency.sh b/build/bin/find-hive-dependency.sh index 3eab5ca..a8793eb 100755 --- a/build/bin/find-hive-dependency.sh +++ b/build/bin/find-hive-dependency.sh @@ -150,7 +150,7 @@ then else hive_lib_dir="$HIVE_LIB" fi -hive_lib=`find -L ${hive_lib_dir} -name '*.jar' ! -name '*calcite*' ! -name '*jackson-datatype-joda*' ! -name '*derby*' -printf '%p:' | sed 's/:$//'` +hive_lib=`find -L ${hive_lib_dir} -name '*.jar' ! -name '*druid*' ! -name '*slf4j*' ! -name '*avatica*' ! -name '*calcite*' ! -name '*jackson-datatype-joda*' ! -name '*derby*' -printf '%p:' | sed 's/:$//'` validateDirectory ${hive_conf_path} checkFileExist ${hive_lib} diff --git a/build/bin/find-spark-dependency.sh b/build/bin/find-spark-dependency.sh index 3565bfc..7179944 100755 --- a/build/bin/find-spark-dependency.sh +++ b/build/bin/find-spark-dependency.sh @@ -35,7 +35,7 @@ then spark_home=$KYLIN_HOME/spark fi -spark_dependency=`find -L $spark_home/jars -name '*.jar' ! -name '*doc*' ! -name '*test*' ! -name '*sources*' ''-printf '%p:' | sed 's/:$//'` +spark_dependency=`find -L $spark_home/jars -name '*.jar' ! -name '*slf4j*' ! -name '*calcite*' ! -name '*doc*' ! -name '*test*' ! -name '*sources*' ''-printf '%p:' | sed 's/:$//'` if [ -z "$spark_dependency" ] then quit "spark jars not found" diff --git a/build/script/download-tomcat.sh b/build/script/download-tomcat.sh index 6c79ff9..eefc6ba 100755 --- a/build/script/download-tomcat.sh +++ b/build/script/download-tomcat.sh @@ -27,13 +27,13 @@ if [[ `uname -a` =~ "Darwin" ]]; then alias md5cmd="md5 -q" fi -tomcat_pkg_version="7.0.91" -tomcat_pkg_md5="8bfbb358b51f90374067879f8db1e91c" +tomcat_pkg_version="8.5.33" +tomcat_pkg_md5="79a5ce0bb2c1503a8e46bf00c6ed9181" if [ ! -f "build/apache-tomcat-${tomcat_pkg_version}.tar.gz" ] then echo "no binary file found" - wget --directory-prefix=build/ http://archive.apache.org/dist/tomcat/tomcat-7/v${tomcat_pkg_version}/bin/apache-tomcat-${tomcat_pkg_version}.tar.gz || echo "Download tomcat failed" + wget --directory-prefix=build/ http://archive.apache.org/dist/tomcat/tomcat-8/v${tomcat_pkg_version}/bin/apache-tomcat-${tomcat_pkg_version}.tar.gz || echo "Download tomcat failed" else if [ `md5cmd build/apache-tomcat-${tomcat_pkg_version}.tar.gz | awk '{print $1}'` != "${tomcat_pkg_md5}" ] then