What are Apache pig running modes?

0 votes

Hi,

I have just started learning Hadoop and pig. Can someone explain Apache pig running mode?

May 6 in Big Data Hadoop by sana
24 views

1 answer to this question.

0 votes

Hey,

You can run Apache pig runs in two modes:

  • MapReduce Modes:- If you want to execute pig queries over the big data stored in HDFS. In this, the input data, as well as the output data, will be stored in HDFS. For executing pig in MapReduce mode, we simply have to use the command 'pig'.
  • Local Modes:- If you want to use pig in local mode, i.e. present in one file system, in that case, you can use the command "pig-x local. In this, the input and output will be present as a single file in one file system itself. 
answered May 7 by Gitika
• 25,340 points

edited May 7 by Gitika

Related Questions In Big Data Hadoop

0 votes
1 answer

What are the different relational operations in “Pig Latin” you worked with?

Different relational operators are: for each order by filt ...READ MORE

answered Dec 14, 2018 in Big Data Hadoop by Frankie
• 9,810 points
22 views
0 votes
1 answer

What are the different ways of executing pig scripts?

There are three ways to execute the ...READ MORE

answered Feb 21 in Big Data Hadoop by Neha
• 6,280 points
146 views
0 votes
1 answer

What are Diagnostic operator in pig?

Hey, In Apache pig, the LOAD statement will ...READ MORE

answered May 6 in Big Data Hadoop by Gitika
• 25,340 points

edited May 7 by Gitika 17 views
0 votes
1 answer

What are Map in pig?

Hey, Map comes under the data mode in ...READ MORE

answered May 7 in Big Data Hadoop by Gitika
• 25,340 points
15 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
• 10,670 points
2,742 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
13,585 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,240 points
999 views
0 votes
1 answer
0 votes
1 answer

What are the components in Pig

Hi, Yes, this is absolutely correct that pig ...READ MORE

answered Apr 26 in Big Data Hadoop by Gitika
• 25,340 points
112 views
0 votes
1 answer

What are the relational operators available related to loading and storing in pig language?

Hey, For loading data and storing it into ...READ MORE

answered May 3 in Big Data Hadoop by Gitika
• 25,340 points
34 views