88672/how-to-invoke-the-grunt-shell-in-mapreduce-mode-in-pig
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?
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
Hey, To execute pig script we can use ...READ MORE
Here is a simple code demonstrate the ...READ MORE
To compress the output of the MapReduce ...READ MORE
There is a default maximum number of ...READ MORE
Hey, Grunt shell is a shell command.The Grunts ...READ MORE
Hey, You can invoke the grunt shell in ...READ MORE
From your current directory run pig -x local Then ...READ MORE
As you know writing mapreduce programs in ...READ MORE
Hi@akhtar, You can invoke the Grunt shell in ...READ MORE
Hi, You can use ToDate() and SubtractDuration() function ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.