Alan Gates created HIVE-4630:
--------------------------------
Summary: bin/hive fails if the user has CDPATH environment
variable set
Key: HIVE-4630
URL: https://issues.apache.org/jira/browse/HIVE-4630
Project: Hive
Issue Type: Bug
Components: CLI
Affects Versions: 0.11.0
Reporter: Alan Gates
Priority: Minor
If a user invokes bin/hive and he has CDPATH set in his environment the
bin/hive script will fail. The reason for this is the following line:
{code}
bin=`cd "$bin"; pwd`
{code}
If CDPATH is set then "cd $bin" will echo the path just cd'd to. This causes
the variable bin to have two lines, one from cd and one from pwd.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira