minor update hcatalog folder for emr Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/3450c0f9 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/3450c0f9 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/3450c0f9
Branch: refs/heads/KYLIN-1726 Commit: 3450c0f984933d40cc60a604813a310accdfaded Parents: 56136ed Author: shaofengshi <shaofeng...@apache.org> Authored: Sat Sep 10 17:52:56 2016 +0800 Committer: shaofengshi <shaofeng...@apache.org> Committed: Sat Sep 10 18:00:08 2016 +0800 ---------------------------------------------------------------------- build/bin/find-hive-dependency.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/3450c0f9/build/bin/find-hive-dependency.sh ---------------------------------------------------------------------- diff --git a/build/bin/find-hive-dependency.sh b/build/bin/find-hive-dependency.sh index 539a45b..71c2fe6 100644 --- a/build/bin/find-hive-dependency.sh +++ b/build/bin/find-hive-dependency.sh @@ -86,9 +86,9 @@ then hcatalog_home=${hadoop_home}/hive/hcatalog elif [ -d "${hive_home}/hcatalog" ]; then hcatalog_home=${hive_home}/hcatalog - elif [ -n is_aws ] && [ -d "/usr/lib/oozie/lib" ]; then - # special handling for Amazon EMR, where hcat libs are under oozie!? - hcatalog_home=/usr/lib/oozie/lib + elif [ -n is_aws ] && [ -d "/usr/lib/hive-hcatalog" ]; then + # special handling for Amazon EMR + hcatalog_home=/usr/lib/hive-hcatalog else echo "Couldn't locate hcatalog installation, please make sure it is installed and set HCAT_HOME to the path." exit 1