Apache Hive Installation
In this section, we will perform the Hive installation.
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.
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.
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.
DUpdate the environment variable.
$ source ~/.bashrc
DLet's start the hive by providing the following command.