How to start Grunt shell in Local mode in Pig?

0 votes

Hi Guys,

I am new to Pig. I want to start the Grunt Shell in local mode. How can I do that?

Oct 14 in Big Data Hadoop by akhtar
• 33,370 points
41 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. In your case, you need to run the below command.

$ ./pig –x local
answered Oct 14 by MD
• 79,190 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,580 points
413 views
0 votes
11 answers
+1 vote
1 answer

How to count number of rows in alias in PIG?

COUNT is part of pig LOGS= LOAD 'log'; LOGS_GROUP= ...READ MORE

answered Oct 15, 2018 in Big Data Hadoop by Omkar
• 69,030 points
688 views
0 votes
1 answer

Hadoop Pig: How to include external jar file in PIG?

You can do this: register /local/path/to/Jar_name.jar READ MORE

answered Nov 16, 2018 in Big Data Hadoop by Omkar
• 69,030 points
190 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,580 points
636 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
0 votes
1 answer

How to check the directory is present in shell script or not?

Hi, To check the directory is present in ...READ MORE

answered Jun 24, 2019 in Big Data Hadoop by Gitika
• 49,580 points
96 views
0 votes
1 answer

How to invoke the Grunt shell in MapReduce mode in Pig?

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

answered Oct 14 in Big Data Hadoop by MD
• 79,190 points
20 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,190 points
167 views