Install Pig on Ubuntu

Install Pig (0.15.0) on Ubuntu (14.04)

To know how to install Hadoop on Ubuntu please visit Hadoop 2.7 installation on Ubuntu 14.04 (Single Node)

Download pig to server:

Unzip & installation pig:

Pig generates lot of log for itself. If we do not provide log4j properties file then it shows error message, to avoid this we need to add properties file. Pig provides few log4j properties file

Need to let pig know about log4j.properties file by updating pig.properties file

Open file by nano command and set log4jconf value

nano /usr/local/pig/conf/pig.properties
log4jconf=./conf/log4j.properties

All are set…..

Leave a Reply

Your email address will not be published. Required fields are marked *