Steps to install Hive Database
1.Download the tar file of Hive
2. Extract file of hive
$ tar xvzf apache-hive-1.2.1-bin
3. go to bashrc file by
$ gedit .bashrc
paste below lines in bashrc file
# Set HIVE_HOME export HIVE_HOME=/home/ratul/apache-hive-1.2.1-bin export PATH=$PATH:$HIVE_HOME/bin
4. Go to bin folder of hive
$ cd home/ratul/apache-hive-1.2.1-bin/bin
5. edit the hive-config.sh file
In hive-config.sh add
export HADOOP_HOME=/home/ratul/hadoop-2.6.0
6. before run hive,first run hadoop server than run hive
$ hive