In this post we discuss about pig installation ubuntu

Pig :

Pig is a platform for analyzing large data sets that consists of a high-level language for expressing data analysis programs, coupled with infrastructure for evaluating these programs. The salient property of Pig programs is that their structure is amenable to substantial parallelization, which in turns enables them to handle very large data sets.

Pig installtion :

Step 1 :

Download pig-0.15.0.tar.gz in required location and extract it.

Step 2 :

Open bashrc by entering the below command in the terminal

$ sudo gedit .bashrc

pig hadoop, pig install, pig tutorial

Step 3 :

Set Pig_home path in bashrc

export PIG_HOME=$HOME/pig-0.15.0

export PATH=$PIG_HOME/bin

pig hadoop, pig install, pig tutorial,pig installation ubuntu

Step 4 :

Type the command to open pig grunt prompt.

$ pig

pig hadoop, pig install, pig tutorial,pig installation ubuntu

It will show the grunt prompt.

Pig Installation completed.