----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/58786/ -----------------------------------------------------------
(Updated 四月 27, 2017, 1:16 p.m.) Review request for kylin, Dayue Gao, Dong Li, hongbin ma, and Wang Xiaoyu. Bugs: KYLIN-2572 https://issues.apache.org/jira/browse/KYLIN-2572 Repository: kylin Description (updated) ------- 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' Diffs ----- build/bin/find-hive-dependency.sh aa39da0ab Diff: https://reviews.apache.org/r/58786/diff/1/ Testing ------- Thanks, pengjianhua