[ 
https://issues.apache.org/jira/browse/KYLIN-2572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy Liu reassigned KYLIN-2572:
--------------------------------

    Assignee: Billy Liu  (was: peng.jianhua)

> Kylin failed to start because of 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)

Reply via email to