Installation of Hadoop
for steps click on this link
http://geeklanguages.blogspot.in/2016/10/steps-to-install-hadoop-on-1.html
Learn Geek languages like Big data,Hadoop,Hive,Pig,Sqoop ,flume,Cassandra,Hbase,Ruby On Rails,Python,Java and many more.
Uses of Hive:
1. The Apache Hive distributed storage.Data Definition Language (DDL )
DDL statements are used to build and modify the tables and other objects in the database.Data Manipulation Language (DML )
DML statements are used to retrieve, store, modify, delete, insert and update data in the database.$ tar xvzf pig-0.15.0.tar.gz
3. Set the path of pig in bashrc file$ sudo gedit .bashrc
5.paste these export lines in bashrc file at bottomexport PIG_HOME=/home/ratul/pig-0.15.0 export PATH=$PATH:/home/ratul/pig-0.15.0/bin export PIG_CLASSPATH=$HADOOP_HOME/conf6.run the command on terminal for local mode
$ pig -x local
for mapreduce mode$ pig -x mapreduce
$ tar xvzf apache-hive-1.2.1-bin
$ gedit .bashrc
# Set HIVE_HOME export HIVE_HOME=/home/ratul/apache-hive-1.2.1-bin export PATH=$PATH:$HIVE_HOME/bin
$ cd home/ratul/apache-hive-1.2.1-bin/bin
export HADOOP_HOME=/home/ratul/hadoop-2.6.0
$ hive