I tried making /usr/bin/hive a link to /usr/lib/hive-0.14/bin/hive . But the launch fails because:
bin=`dirname "$0"` bin=`cd "$bin"; pwd`
So I used a readlink -f first, to locate the proper script home, and then it works fine. My question is: is this kind of problem something we track and open a JIRA about, or is this kind of issue left as something for the packagers/distributors to worry about and fix (given that the distributions vary wildly from the pure trunk build package artifact)?
Subject: Re: hive script when invoked through a link
HIVE-6553 it is then I'm not sure $BASH_SOURCE makes any diff, is the readlink that is critical.
NEW: Monitor These Apps!
Apache Lucene, Apache Solr and all other Apache Software Foundation project and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext