I have Hadoop 1.0.4 running on a single node cluster set up on my Ubuntu machine.
I did the following steps to download and install the hive release
Try cross checking your environment variable path, in case you typed it wrong.
Try Reloading .bashrc by typing following command
source ~/.bashrc
Just find your hive-exec-*.jar folder and create a symbolic link to it.
in my case, first i go to hive folder using "cd /usr/local/Cellar/hive/1.2.1"
and then run command "ln -s libexec/lib/ lib"
Try this :
export HIVE_HOME=$HADOOP_HOME/hive/build/dist
export PATH=$HIVE_HOME/bin:$PATH
In my case, a simple reboot helped after setting the PATH variable.
The question is about that the hive path, So you can check up all configuration file involving the hive path. Remember that you must confirm that the hadoop had been installed.
1, the environment parameter(/etc/profile or ~/.profile)
export HIVE_HOME=/usr/app/apache-hive-2.3.0-bin
export PATH=$HIVE_HOME/bin:$PATH
2, $HIVE_HOME/conf/hive-env.sh
export JAVA_HOME= ${Your_JAVA_HOME_directory}
export HADOOP_HOME= ${Your_HADOOP_HOME_directory}
export HIVE_HOME= ${Your_HIVE_HOME_directory}
export HIVE_CONF_DIR= ${Your_HIVE_HOME_directory}/conf
Hive is based on Hadoop, so you must configure the hadoop's path on the hive-env.sh.