You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Remus Rusanu (JIRA)" <ji...@apache.org> on 2014/03/05 16:55:45 UTC
[jira] [Created] (HIVE-6553) hive CLI shell use of `dirname "$0"`
prevents it from being linked from other directories
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)