KYLIN-3129 fix startup error on EMR 5.8+

Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/0162d888
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/0162d888
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/0162d888

Branch: refs/heads/KYLIN-2881-review
Commit: 0162d8886ebe2b9fde98c995509754df26f19722
Parents: 18673d0
Author: shaofengshi <shaofeng...@apache.org>
Authored: Thu Jan 11 11:21:13 2018 +0800
Committer: shaofengshi <shaofeng...@apache.org>
Committed: Thu Jan 11 11:21:22 2018 +0800

----------------------------------------------------------------------
 build/bin/find-hive-dependency.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/0162d888/build/bin/find-hive-dependency.sh
----------------------------------------------------------------------
diff --git a/build/bin/find-hive-dependency.sh 
b/build/bin/find-hive-dependency.sh
index 653db83..96a7647 100755
--- a/build/bin/find-hive-dependency.sh
+++ b/build/bin/find-hive-dependency.sh
@@ -149,7 +149,7 @@ then
 else
     hive_lib_dir="$HIVE_LIB"
 fi
-hive_lib=`find -L ${hive_lib_dir} -name '*.jar' ! -name '*calcite*' -printf 
'%p:' | sed 's/:$//'`
+hive_lib=`find -L ${hive_lib_dir} -name '*.jar' ! -name '*calcite*' ! -name 
'*jackson-datatype-joda*' -printf '%p:' | sed 's/:$//'`
 
 validateDirectory ${hive_conf_path}
 checkFileExist ${hive_lib}

Reply via email to