1) The document provides steps to install Pig on Windows including downloading Pig, editing environmental variables, starting Hadoop, starting Pig, and fixing an error by editing pig.cmd.
2) Key steps are downloading Pig from Apache, adding Pig and Hadoop paths to environmental variables, starting Hadoop, running pig commands, and editing pig.cmd to fix an error.
3) The document is a lab assignment for a student that details how to install Apache Pig on Windows.
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 ratings0% found this document useful (0 votes)
94 views5 pages
Pig Install
1) The document provides steps to install Pig on Windows including downloading Pig, editing environmental variables, starting Hadoop, starting Pig, and fixing an error by editing pig.cmd.
2) Key steps are downloading Pig from Apache, adding Pig and Hadoop paths to environmental variables, starting Hadoop, running pig commands, and editing pig.cmd to fix an error.
3) The document is a lab assignment for a student that details how to install Apache Pig on Windows.
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/ 5
LAB ASSIGNMENT – 5
NAME: WILBIN T VARUGHESE
USN: 4SO19CS183
Install Pig on Windows:
Step 1: Downloading Apache Pig Use the link https://downloads.apache.org/pig/latest/ to download the file and extract using command “tar -xf pig-0.17.0.tar.gz (in cmd prompt) in pig folder Step 2: Edit the Environmental Varaibles Add new variables PIG_HOME – D:\pig\pig-0.17.0
And following paths
%PIG_HOME%\bin Step 3: Start Hadoop
Step 4: Start Apache Pig
pig -version (in cmd prompt admin) To fix this error we should edit pig.cmd file located in the “pig-0.17.0\bin” directory by changing the HADOOP_BIN_PATH value from “%HADOOP_HOME%\bin” to “%HADOOP_HOME%\libexec”
Now run “pig -version” again (in cmd prompt again)