Important: I have made a complete screencast demonstrating the installation of Apache Hive. You can find it at Hadoop Screencasts – Episode 4: Installing Apache Hive. You can ignore the post below and follow the instructions on the screencast.
Environment Details
Operating System : Linux Mint Release 14
Hadoop Version : 0.20.2
Following are the steps to install Apache Hive:
- Download Apache Hive
$ wget http://apache.mirrors.hoobly.com/hive/hive-0.10.0/hive-0.10.0.tar.gz
- Untar the archive. I have untarred the file to the /usr/local/
$ tar -xzvf hive-0.10.0.tar.gz $ mv hive-0.10.0 hive
- Set the environment variable HIVE_HOME to point to the installation directory:
$ cd hive $ export HIVE_HOME=/usr/local/hive
- Add $HIVE_HOME/bin to your PATH:
$ export PATH=$HIVE_HOME/bin:$PATH $ hive
Do let me know if you need any information.