You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2017/07/25 09:45:03 UTC
[16/24] kylin git commit: kap: update find spark_dependency
kap: update find spark_dependency
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/057bca40
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/057bca40
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/057bca40
Branch: refs/heads/2.1.x
Commit: 057bca400de60606cc69e4befdc16e82337c7c5f
Parents: c53ef3f
Author: yiming.xu <10...@qq.com>
Authored: Mon Jul 24 09:36:24 2017 +0800
Committer: Hongbin Ma <ma...@apache.org>
Committed: Mon Jul 24 12:48:56 2017 +0800
----------------------------------------------------------------------
build/bin/find-spark-dependency.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kylin/blob/057bca40/build/bin/find-spark-dependency.sh
----------------------------------------------------------------------
diff --git a/build/bin/find-spark-dependency.sh b/build/bin/find-spark-dependency.sh
index 4ea5c3e..3565bfc 100755
--- a/build/bin/find-spark-dependency.sh
+++ b/build/bin/find-spark-dependency.sh
@@ -35,10 +35,10 @@ then
spark_home=$KYLIN_HOME/spark
fi
-spark_dependency=`find -L $spark_home -name 'spark-assembly-[a-z0-9A-Z\.-]*.jar' ! -name '*doc*' ! -name '*test*' ! -name '*sources*' ''-printf '%p:' | sed 's/:$//'`
+spark_dependency=`find -L $spark_home/jars -name '*.jar' ! -name '*doc*' ! -name '*test*' ! -name '*sources*' ''-printf '%p:' | sed 's/:$//'`
if [ -z "$spark_dependency" ]
then
- quit "spark assembly lib not found"
+ quit "spark jars not found"
else
verbose "spark dependency: $spark_dependency"
export spark_dependency