How to invoke the Grunt shell in MapReduce mode in Pig

0 votes

Hi Guys,

I am new to Apache Pig. I have configured Pig in the Local system. How can I invoke the Grunt shell in MapReduce mode?

Oct 15, 2020 in Big Data Hadoop by akhtar
• 38,210 points
146 views

1 answer to this question.

0 votes

Hi@akhtar,

You can invoke the Grunt shell in the desired mode (local/MapReduce) using the −x option. You need to tell in which mode you want to run the grunt shell as shown below.

$ ./pig -x mapreduce
answered Oct 15, 2020 by MD
• 95,320 points

Related Questions In Big Data Hadoop

0 votes
1 answer

how to execute pig script in MapReduce mode?

Hey, To execute pig script we can use ...READ MORE

answered May 8, 2019 in Big Data Hadoop by Gitika
• 65,970 points
674 views
0 votes
1 answer

How to format the output being written by MapReduce in Hadoop?

Here is a simple code demonstrate the ...READ MORE

answered Sep 5, 2018 in Big Data Hadoop by Frankie
• 9,810 points
1,056 views
0 votes
1 answer

How to compress output of the mapreduce output in Hive?

To compress the output of the MapReduce ...READ MORE

answered May 20, 2019 in Big Data Hadoop by Hiran
493 views
0 votes
1 answer

How to set maximum dynamic partitions in MapReduce mode?

There is a default maximum number of ...READ MORE

answered May 21, 2019 in Big Data Hadoop by Likith
600 views
0 votes
1 answer

What is grunt shell in pig?

Hey, Grunt shell is a shell command.The Grunts ...READ MORE

answered May 6, 2019 in Big Data Hadoop by Gitika
• 65,970 points
1,694 views
0 votes
1 answer

How to invoke grunt shell?

Hey, You can invoke the grunt shell in ...READ MORE

answered May 8, 2019 in Big Data Hadoop by Gitika
• 65,970 points
829 views
+1 vote
2 answers

Execute Pig Script from Grunt Shell

From your current directory run  pig -x local Then ...READ MORE

answered Oct 25, 2018 in Big Data Hadoop by Kunal
3,329 views
0 votes
1 answer

Why Apache Pig is used instead of Hadoop?

As you know writing mapreduce programs in ...READ MORE

answered May 8, 2018 in Big Data Hadoop by Ashish
• 2,650 points
1,264 views
0 votes
1 answer

How to start Grunt shell in Local mode in Pig?

Hi@akhtar, You can invoke the Grunt shell in ...READ MORE

answered Oct 14, 2020 in Big Data Hadoop by MD
• 95,320 points
148 views
+1 vote
2 answers

How to find previous records from a data set in Pig??

Hi, You can use ToDate() and SubtractDuration() function ...READ MORE

answered Jan 23, 2020 in Big Data Hadoop by MD
• 95,320 points
299 views