### Installing Pig ( Apache Hadoop Pig)

Set the environment variables in your system as

export PATH=$PATH:$PIG_HOME/bin

Set the place where you downloaded pig and also set its path

If you plan to run Pig on hadoop cluster then one additional variable needs to be set

It tells about the place where to look for hdfs-site.xml and other configuration files for hadoop

Thats it , now lets test the installation

On the command prompt

type

# pig -h

it shoud show the help related to Pig , and its various commands.

Done :) ,