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 2016/03/23 07:59:20 UTC

[31/50] [abbrv] kylin git commit: minor, update find hive dependency script to avoid soft links of jars

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/57ac1493
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/57ac1493
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/57ac1493

Branch: refs/heads/KYLIN-1122-B1
Commit: 57ac14932d52c1529b4f1a95f70f0cff62b69004
Parents: d3a1d85
Author: lidongsjtu <li...@apache.org>
Authored: Wed Mar 9 16:18:00 2016 +0800
Committer: Xiaoyu Wang <wa...@apache.org>
Committed: Mon Mar 21 19:57:35 2016 +0800

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


http://git-wip-us.apache.org/repos/asf/kylin/blob/57ac1493/bin/find-hive-dependency.sh
----------------------------------------------------------------------
diff --git a/bin/find-hive-dependency.sh b/bin/find-hive-dependency.sh
index 15e9e0a..8adb1ec 100755
--- a/bin/find-hive-dependency.sh
+++ b/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