Friday, August 16, 2019

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.
  1. $ java -version  
  • Hadoop Installation - Check whether the Hadoop is installed or not using the following command.
  1. $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.
  1. tar -xvf apache-hive-1.2.2-bin.tar.gz  
  • DOpen the bashrc file.
  1. $ sudo nano ~/.bashrc  
  • DNow, provide the following HIVE_HOME path.
  1. export HIVE_HOME=/home/codegyani/apache-hive-1.2.2-bin  
  2. export PATH=$PATH:/home/codegyani/apache-hive-1.2.2-bin/bin  
  • DUpdate the environment variable.
  1. $ source ~/.bashrc  
  • DLet's start the hive by providing the following command.
  1. $ hive  
Hive Installation

No comments:

Post a Comment

Lab 09: Publish and subscribe to Event Grid events

  Microsoft Azure user interface Given the dynamic nature of Microsoft cloud tools, you might experience Azure UI changes that occur after t...