Download
Hive from Here
Go
to directory where it is downloaded
Untar the downloaded hive by below commnd or right cllick and extract.
$ tar -xzvf hive-0.10.0.tar.gz
Move the folder to /usr/local from Downloads or to your preferable folder.
I
prefer /usr/local because my hadoop is installed at /usr/local/hive
$ mv apache-hive-1.2.0-bin /usr/local/hive
Set
the environment variable HIVE_HOME
$
vim.tiny ~/.bashrc
Add
the following lines at the bottom of the file
# Set HIVE_HOME export HIVE_HOME="/usr/lib/hive/apache-hive-0.13.0-bin" export PATH=$PATH:$HIVE_HOME/bin
Close
and Restart the Terminal
$ Hive
We
are Done!!
No comments:
Post a Comment