Skip to main content

Apache Hive 1.2.1 installation on Hadoop 2.7.1 in ubuntu 14.04


Steps to follow for installation


Step 1: Download the Hive 1.2.1 tar ball from the link

Step 2: Extract the apache-hive-1.2.1-bin.tar.gz using the command

root@ubuntu:/usr/local#tar -xvzf apache-hive-1.2.1-bin.tar.gz

Step 3: Move the extracted file to location called /usr/local/

Step 4: Navigate inside /usr/local/apache-hive-1.2.1-bin

Step 5: Export the Hive_Home using the following command

root@ubuntu:/usr/local/apache-hive-1.2.1-bin# export HIVE_HOME="/usr/local/apache-hive-1.2.1-bin"

Step 6: Set the class-path of the hive1.2.1

root@ubuntu:/usr/local/apache-hive-1.2.1-bin# PATH=$PATH:$HIVE_HOME/bin

root@ubuntu:/usr/local/apache-hive-1.2.1-bin# export PATH



Step 7: Make changes in the hive-config.sh using the following command

root@ubuntu:/usr/local/apache-hive-1.2.1-bin# vi bin/hive-config.sh

Add the following at the end..

export HADOOP_HOME=/usr/local/hadoop


Step 8: Start the hive using

root@ubuntu:/usr/local/apache-hive-1.2.1-bin# bin/hive


###### Hive Installation is Successful ##################


Comments

  1. At least you should share configuration details that is the main point to learn in big data.

    ReplyDelete
    Replies
    1. Shafiq : What configuration details you want me to add ?? I guess i have shared all the configuration steps to get start the Apache hive..

      Delete

Post a Comment