KYLIN-1119 enhance find-hive-dependency to support one common case
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/1cd18964 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/1cd18964 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/1cd18964 Branch: refs/heads/1.x-HBase1.1.3 Commit: 1cd189649ad6d559c0d373b1e2b31c55387aa13e Parents: 0f8fc23 Author: shaofengshi <shaofeng...@apache.org> Authored: Wed Nov 25 14:38:55 2015 +0800 Committer: shaofengshi <shaofeng...@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/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