Remus Rusanu created HIVE-6553: ---------------------------------- Summary: hive CLI shell use of `dirname "$0"` prevents it from being linked from other directories Key: HIVE-6553 URL: https://issues.apache.org/jira/browse/HIVE-6553 Project: Hive Issue Type: Bug Reporter: Remus Rusanu Priority: Minor
I tried making /usr/bin/hive a link to /usr/lib/hive-0.14/bin/hive . But the launch fails because: {code} bin=`dirname "$0"` bin=`cd "$bin"; pwd` . "$bin"/hive-config.sh {code} So I used a readlink -f first, to locate the proper script home, and then it works fine. -- This message was sent by Atlassian JIRA (v6.2#6252)