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/23 10:15:06 UTC
[22/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/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/1.5.x-HBase1.1.3
Commit: 26233f79bf7fdc3fa1de9ce82e36d0baf47dcd20
Parents: f73abf6
Author: lidongsjtu <li...@apache.org>
Authored: Wed Mar 9 16:14:11 2016 +0800
Committer: lidongsjtu <li...@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