peng.jianhua created KYLIN-2572:
-----------------------------------

             Summary: Kylin failed to start because of parsing 'hcatalog_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: peng.jianhua
             Fix For: v2.1.0


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.3.15#6346)

Reply via email to