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:47:25 UTC

[2/2] 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/2f46301b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/2f46301b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/2f46301b

Branch: refs/heads/2.x-staging
Commit: 2f46301b7be2345a296ef23cf234eaa3184154d7
Parents: 112abda
Author: shaofengshi <sh...@apache.org>
Authored: Wed Nov 25 14:39:02 2015 +0800
Committer: shaofengshi <sh...@apache.org>
Committed: Wed Nov 25 14:46:58 2015 +0800

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


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/2f46301b/build/bin/find-hive-dependency.sh
----------------------------------------------------------------------
diff --git a/build/bin/find-hive-dependency.sh b/build/bin/find-hive-dependency.sh
index ee36fc3..e2c8ffa 100644
--- a/build/bin/find-hive-dependency.sh
+++ b/build/bin/find-hive-dependency.sh
@@ -44,6 +44,8 @@ then
     hive_home=`echo $hive_exec_path | awk -F '/hive.*/lib/' '{print $1}'`
     if [ -d "${hive_home}/hive-hcatalog" ]; then
       hcatalog_home=${hive_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