0% found this document useful (0 votes)
10 views2 pages

PIG - Installation Step

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

PIG - Installation Step

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

1.

Hardware Requirement
* RAM — Min. 8GB, if you have SSD in your system then 4GB RAM would also
work.
* CPU — Min. Quad-core, with at least 1.80GHz
2. JRE 1.8 — Offline installer for JRE
3. Java Development Kit — 1.8
4. A Software for Un-Zipping like 7Zip or Win Rar
download the version supported by your system x86 or x64 for all the software.
5. Hadoop
* Download and install Hadoop, Hadoop: How to install in 5 Steps in Windows 10.
6. MySQL Query Browser
7. Download PIG zip
Download the PIG-0.17.0 version of Apache Pig.

8. Unzip and Install PIG

9. we can create a folder and move the final extracted file in it.

10. Setting Up Environment Variables

-Setting PIG_HOME

-add PIG_HOME in variable name and path of PIG in Variable Value.

-Setting Path Variable

11. Verify the Paths by following command

echo %PIG_HOME%

12. verify the set-up


pig -version

13. if below error after running pig -version

'-Xmx1000M' is not recognized as an internal or external command,operable


program or batch file.

14 To resolve this we will need to perform the following steps:-

1. Open the pig. cmd file in edit mode.


We can find the file in the bin folder.
2. . Now we need to change the value of the HADOOP_BIN_PATH
3. Old value:- %HADOOP_HOME%\bin
New Value:- %HADOOP_HOME%\libexec
4. Save the file.
5. The next step is to verify the setup once again. So, we need to execute the
pig -version command once again.
15. Starting PIG by typing following command

Pig

16. We can see grunt> once the pig starts.

You might also like