Installing Pig on Linux System

0 votes
Please help me with the steps to install Apache Pig on Linux system.
Feb 27 in Big Data Hadoop by Suresh
19 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

It was a good thing that you mentioned Apache Pig :P

Well, follow these steps to install Pig:

To install pig, you first need the pig file. You can download the pig file from:

http://www.apache.org/dyn/closer.cgi/pig

Next, extract the files using this command:

$ cd Downloads

$ tar -xvf pig-0.16.0.tar.gz

Now, we need to add Pig path to the bashrc file. Run the following commands for this:

$ cd ..

$ nano .bashrc

Now, add the following entries to the bashrc file:

export PIG_HOME=/home/edureka/Downloads/pig-0.16.0

export PATH=$PATH:/home/edureka/Downloads/pig-0.16.0/bin

export PIG_CLASSPATH=$HADOOP_CONF_DIR

Save (Ctrl+O) and exit (Ctrl+X)

Reload the changes using:

$ source .bashrc

Now, to verify the installation, run the following command:

$ pig -version

This will print the version of Pig installed.

answered Feb 27 by Yuri

Related Questions In Big Data Hadoop

0 votes
1 answer

Installing Oozie on Linux System

Download Oozie from this link: http://www.apache.org/dyn/closer.lua/oozie/ Extract the files. ...READ MORE

answered Feb 27 in Big Data Hadoop by Rajan
24 views
0 votes
1 answer

What are the hardware requirements for installing Hadoop on my Laptop?

You can either install Apache Hadoop on ...READ MORE

answered Apr 10, 2018 in Big Data Hadoop by Shubham
• 12,150 points
782 views
0 votes
1 answer

Not able to find HDFS directory on my system?

I guess you didn't understand it correctly dfs.datanode.data.dir, ...READ MORE

answered Apr 17, 2018 in Big Data Hadoop by nitinrawat895
• 9,030 points
96 views
0 votes
1 answer

Difference between Hadoop file system and Linux

Yes, to a certain extent we can ...READ MORE

answered Apr 20, 2018 in Big Data Hadoop by nitinrawat895
• 9,030 points
100 views
0 votes
1 answer

What do we exactly mean by “Hadoop” – the definition of Hadoop?

The official definition of Apache Hadoop given ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by Shubham
118 views
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 9,030 points
1,651 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 9,030 points
130 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
8,003 views
0 votes
1 answer

Sqoop installation on Linux

Before installing Sqoop, make sure Hadoop is ...READ MORE

answered Feb 26 in Big Data Hadoop by Kriti
36 views
0 votes
1 answer

How to install Hive on Windows Operating System?

First, download Hive from the following link: http://www.apache.org/dyn/closer.cgi/hive/ Next, ...READ MORE

answered Feb 26 in Big Data Hadoop by Kirti
136 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.