Installing Hadoop HCatalog

Assalamualaykum..:)
Today we discuss about installation of HCatalog on Ubuntu.

Download the software package from the following link and using the command:
$ wget http://www-eu.apache.org/dist/hive/hive-1.2.1/apache-hive-1.2.1-bin.tar.gz

Extract the package using command
$ tar zxf apache-hive-1.2.1-bin.tar.gz

Add the HCAT_HOME parameters in bashrc file( copy and paste the following lines in bashrc file) as shown below:
$ gedit ~/.bashrc
#HCAT_HOME
export HCAT_HOME=/home/aejaaz/apache-hive-1.2.1-bin
export PATH=$PATH:HCAT_HOME/bin
#HCAT_HOME_END

Verify the added lines of code in bashrc file are valid using source as shown:
$ source ~/.bashrc

Thats it for today..:)

Jazakallah khair

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s