Helpful blog for installing PIG
Pig has two execution modes :
- Local Mode – To run Pig in local mode, you need access to a single machine; all files are installed and run using your local host and file system. Specify local mode using the -x flag (pig -x local).
- MapReduce Mode – To run Pig in MapReduce mode, you need access to a Hadoop cluster and HDFS installation. MapReduce mode is the default mode; you can, but don’t need to, specify it using the -x flag (pig OR pig -x mapreduce).
The pig-0.11.1 installation is done in below versions of Linux and Hadoop respectively.
I have hduser as a dedicated hadoop system user. I had installed my Hadoop in /home/hduser/hadoop folder. Now I am going to install pig in /usr/lib/pig folder.
- Download Pig from here.
- Enter into the directory where the stable version is downloaded. By…
View original post 150 more words