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 14 in Big Data Hadoop by akhtar
• 33,370 points
20 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 14 by MD
• 79,150 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 7, 2019 in Big Data Hadoop by Gitika
• 49,540 points
413 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
627 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
297 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
333 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
• 49,540 points
636 views
0 votes
1 answer

How to invoke grunt shell?

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

answered May 7, 2019 in Big Data Hadoop by Gitika
• 49,540 points
422 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
2,265 views
0 votes
1 answer

Why Apache Pig is used instead of Hadoop?

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

answered May 7, 2018 in Big Data Hadoop by Ashish
• 2,650 points
814 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 in Big Data Hadoop by MD
• 79,150 points
41 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 in Big Data Hadoop by MD
• 79,150 points
167 views