You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Billy Liu (JIRA)" <ji...@apache.org> on 2017/08/13 12:51:00 UTC
[jira] [Updated] (KYLIN-2572) Fix parsing 'hive_home' error in
'find-hive-dependency.sh'
[ https://issues.apache.org/jira/browse/KYLIN-2572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Billy Liu updated KYLIN-2572:
-----------------------------
Summary: Fix parsing 'hive_home' error in 'find-hive-dependency.sh' (was: Kylin failed to start because of parsing 'hive_home' error in 'find-hive-dependency.sh')
> Fix parsing 'hive_home' error in 'find-hive-dependency.sh'
> ----------------------------------------------------------
>
> Key: KYLIN-2572
> URL: https://issues.apache.org/jira/browse/KYLIN-2572
> Project: Kylin
> Issue Type: Bug
> Components: General
> Affects Versions: v2.0.0
> Reporter: peng.jianhua
> Assignee: Billy Liu
> Labels: patch
> Fix For: v2.1.0
>
> Attachments: 0001-KYLIN-2572-Kylin-failed-to-start-because-of-parsing-.patch
>
>
> Kylin failed to start because of parsing 'hive_home' error in 'find-hive-dependency.sh'
> The error log is as following:
> Couldn't locate hcatalog installation, please make sure it is installed and set HCAT_HOME to the path.
> In my environment, the HIVE_HOME is /opt/parcels/lib/mr/hive-2.1.0 and the path contains '/lib/'
> The code in find-hive-dependency.sh:
> 75 hive_home=`echo $hive_exec_path | awk -F '/lib/' '{print $1}'`
> Using '/lib/' as a delimiter, the result is that getting the wrong hive_home : '/opt/parcels'
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)