• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Big Data | Hadoop by
Q:
Apache Hive Installation

1 Answer

0 votes
by
Apache Hive Installation

In this section, we will perform the Hive installation.

Pre-requisite

Java Installation - Check whether the Java is installed or not using the following command.

$ java -version  

Hadoop Installation - Check whether the Hadoop is installed or not using the following command.

$hadoop version  

If any of them is not installed in your system, follow the below link to install Click Here to Install.

Steps to install Apache Hive

Download the Apache Hive tar file.

http://mirrors.estointernet.in/apache/hive/hive-1.2.2/

DUnzip the downloaded tar file.

tar -xvf apache-hive-1.2.2-bin.tar.gz  

DOpen the bashrc file.

$ sudo nano ~/.bashrc  

DNow, provide the following HIVE_HOME path.

export HIVE_HOME=/home/codegyani/apache-hive-1.2.2-bin  

export PATH=$PATH:/home/codegyani/apache-hive-1.2.2-bin/bin  

DUpdate the environment variable.

$ source ~/.bashrc  

DLet's start the hive by providing the following command.

$ hive  

Hive Installation

Related questions

0 votes
asked Sep 7, 2019 in Big Data | Hadoop by john ganales
0 votes
asked Sep 7, 2019 in Big Data | Hadoop by john ganales
...