How to Install Pig in Hadoop ?

How to Install Pig in Hadoop ?

To install   Pig on Ubuntu and Other Debian Systems,

$ sudo apt-get install hadoop-pig


To install Pig on Red Hat-Compatible Systems:

$ sudo yum install hadoop-pig

To install Pig on Suse Systems:

$ sudo zypper install hadoop-pig



When installing Pig, Pig automatically use the active hadoop Configuration.

After doing pig installation , you can start the Grant Shell

To Start the Grant Shell :

$ export PIG_CONF_DIR=/USR/LIB/PIG/CONF
$ PIG
...
grunt>

0 comments:

Post a Comment