kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lid...@apache.org
Subject kylin git commit: minor, update find hive dependency script to avoid soft links of jars
Date Wed, 09 Mar 2016 08:17:41 GMT
Repository: kylin
Updated Branches:
  refs/heads/2.x-staging f73abf6c2 -> 26233f79b


minor, update find hive dependency script to avoid soft links of jars


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

Branch: refs/heads/2.x-staging
Commit: 26233f79bf7fdc3fa1de9ce82e36d0baf47dcd20
Parents: f73abf6
Author: lidongsjtu <lidong@apache.org>
Authored: Wed Mar 9 16:14:11 2016 +0800
Committer: lidongsjtu <lidong@apache.org>
Committed: Wed Mar 9 16:16:37 2016 +0800

----------------------------------------------------------------------
 build/bin/find-hive-dependency.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/26233f79/build/bin/find-hive-dependency.sh
----------------------------------------------------------------------
diff --git a/build/bin/find-hive-dependency.sh b/build/bin/find-hive-dependency.sh
index 87f18dd..1650ec0 100644
--- a/build/bin/find-hive-dependency.sh
+++ b/build/bin/find-hive-dependency.sh
@@ -41,7 +41,7 @@ fi
 
 for data in ${arr[@]}
 do
-    result=`echo $data | grep -e 'hive-exec[a-z0-9A-Z\.-]*jar'`
+    result=`echo $data | grep -e 'hive-exec[a-z0-9A-Z\.-]*.jar'`
     if [ $result ]
     then
         hive_exec_path=$data
@@ -82,7 +82,7 @@ else
     hcatalog_home=${HCAT_HOME}
 fi
 
-hcatalog=`find -L ${hcatalog_home} -name "hive-hcatalog-core[0-9\.-]*jar" 2>&1 | grep
-m 1 -v 'Permission denied'`
+hcatalog=`find -L ${hcatalog_home} -name "hive-hcatalog-core[0-9\.-]*.jar" 2>&1 |
grep -m 1 -v 'Permission denied'`
 
 if [ -z "$hcatalog" ]
 then


Mime
View raw message