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,240 points
191 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,340 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,850 points
752 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,830 points
1,310 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
561 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
673 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,850 points
2,332 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,850 points
937 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,779 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,402 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,340 points
214 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,340 points
360 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP