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 2015/11/25 07:40:21 UTC
[2/3] incubator-kylin git commit: KYLIN-1119 enhance
find-hive-dependency to support one common case
KYLIN-1119 enhance find-hive-dependency to support one common case
Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/1cd18964
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/1cd18964
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/1cd18964
Branch: refs/heads/1.x-staging
Commit: 1cd189649ad6d559c0d373b1e2b31c55387aa13e
Parents: 0f8fc23
Author: shaofengshi <sh...@apache.org>
Authored: Wed Nov 25 14:38:55 2015 +0800
Committer: shaofengshi <sh...@apache.org>
Committed: Wed Nov 25 14:40:07 2015 +0800
----------------------------------------------------------------------
bin/find-hive-dependency.sh | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/1cd18964/bin/find-hive-dependency.sh
----------------------------------------------------------------------
diff --git a/bin/find-hive-dependency.sh b/bin/find-hive-dependency.sh
index cb5a43e..5994dda 100755
--- a/bin/find-hive-dependency.sh
+++ b/bin/find-hive-dependency.sh
@@ -44,6 +44,8 @@ then
hadoop_home=`echo $hive_exec_path | awk -F '/hive.*/lib/' '{print $1}'`
if [ -d "${hadoop_home}/hive-hcatalog" ]; then
hcatalog_home=${hadoop_home}/hive-hcatalog
+ elif [ -d "${hadoop_home}/hive/hcatalog" ]; then
+ hcatalog_home=${hadoop_home}/hive/hcatalog
else
echo "Couldn't locate hcatalog installation, please make sure it is installed and set HCAT_HOME to the path."
exit 1