Setup up Hive on Ubuntu Server 14.04 LTS

Some notes for installing Hive on Ubuntu Server for development.

1) First find the latest version of Hive here.

Use wget to download and unpack the tarball.

sudo wget http://apache.claz.org/hive/stable/apache-hive-1.2.1-bin.tar.gz && tar zxvf apache-hive-1.2.1-bin.tar.gz

(Optionally) move it to the following location:

sudo mv apache-hive-1.2.1-bin /user/hive

2) Run Hive using the following command:

/user/hive/bin/hive

If you don’t want to type that in add /user/hive/bin to the PATH variable in /etc/environment or by adding an amendment to ~/.bashrc.

Tags: , ,

Leave a Reply