You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2016/03/27 03:32:40 UTC
[37/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/677e5653
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/677e5653
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/677e5653
Branch: refs/heads/1.3.x
Commit: 677e5653e7df532b93c9eec529ef110fda093bd2
Parents: fc74a4b
Author: lidongsjtu <li...@apache.org>
Authored: Wed Mar 9 16:18:00 2016 +0800
Committer: lidongsjtu <li...@apache.org>
Committed: Wed Mar 9 16:18:00 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/677e5653/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