- Download the latest stable release of Hive from the following location, using the command:
wget http://www-us.apache.org/dist/hive/hive-2.1.1/apache-hive-2.1.1-bin.tar.gz
- Change to a user directory and extract the contents of the tar using the following command:
tar -xzvf ${DOWNLOAD_DIR}/apache-hive-2.1.1-bin.tar.gz
- Configure and export the environment variable ${HIVE_HOME} pointing to the extracted directory and append its binaries to the path. Append the same to ~/.bashrc file
export HIVE_HOME=<Hive directory>export PATH=$PATH:$HIVE_HOME/bin
- Install latest SASL (Simple Authentication and Security Layer) packages for your operating system as Hive has dependency on this. For CentOS, these can be installed with ...