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 ##################
Thank you very much for your kind words.
ReplyDeleteBigdata Training in Chennai
At least you should share configuration details that is the main point to learn in big data.
ReplyDeleteShafiq : What configuration details you want me to add ?? I guess i have shared all the configuration steps to get start the Apache hive..
Delete