Learn Geek languages like Big data,Hadoop,Hive,Pig,Sqoop ,flume,Cassandra,Hbase,Ruby On Rails,Python,Java and many more.

Thursday 20 October 2016

Installation of Hive on Linux

 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

10 comments:

  1. Thank you. Well it was a nice to post and very helpful information on Big Data Hadoop Online Course Bangalore

    ReplyDelete

if you have any query regarding geek languages,
email on arora.ratul@gmail.com