Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Pig Wiki" for change 
notification.

The following page has been changed by CorinneC:
http://wiki.apache.org/pig/RunPig

------------------------------------------------------------------------------
  This page provides the information you need to get started running Pig.
  
- == Run Modes ==
+ === Run Modes ===
  
  Pig has two run modes or exectypes, local and hadoop (currently called 
mapreduce). 
    * '''Local Mode''': To run Pig in local mode, you need access to a single 
machine. 
@@ -15, +15 @@

  
  Note: A ticket has been entered to change {{{-x, -exectype local|mapreduce}}} 
 to  {{{-x, -exectype local|hadoop}}}
  
- == Run Ways ==
+ === Run Ways ===
  
  You can run Pig three ways – using either local mode or hadoop (mapreduce) 
mode:
    * '''Grunt Shell''': Enter Pig commands manually using Pig’s interactive 
shell, Grunt. 
@@ -24, +24 @@

  
  Note: Pig, itself, is a script file (pig.sh), and is referred toas "The Pig 
Script File." The Run Ways script file mentioned above is a script file that 
you create and which contains the Pig commands that you want to run (we provide 
a sample in the next section).
  
- == Sample Code ==
+ === Sample Code ===
  The sample code files you need to run the examples on this page include: 
    * Script file: XXX.pig 
    * Embedded program: XXX.java
@@ -40, +40 @@

  
  
  
- == Environment ==
+ === Environment ===
  
  Unix and Windows users need to install and set up Java (including $JAVA_HOME 
and $PATH).
  
@@ -155, +155 @@

  
  = Hadoop Mode =
  
- This section shows you how to run Pig in hadoop (mapreduce) mode. To run Pig 
in Hadoop mode, you need access to a Hadoop cluster. 
+ This section shows you how to run Pig in hadoop (mapreduce) mode. To run Pig 
in hadoop (mapreduce) mode, you need access to a Hadoop cluster. 
  
  === Grunt Shell ===
+ To run Pig’s Grunt shell in hadoop (mapreduce) mode, follow these 
instructions. When you begin the session, Pig will allocate a 15-node cluster. 
When you quit the session, Pig will deallocate the nodes.
- To run Pig’s Grunt shell in hadoop (mapreduce) mode, follow these 
instructions. 
- 
- Note: When you begin the session, Pig will allocate a 15-node cluster. When 
you quit the session, Pig will automatically deallocate the nodes.
  
  From your current working directory, run:
  {{{
@@ -177, +175 @@

  
  
  === Script File ===
- To run Pig script files in hadoop (mapreduce) mode, follow these instructions 
(which are the same as the Grunt Shell instructions above – you just include 
the script file).
+ To run Pig script files in hadoop (mapreduce) mode, follow these instructions 
(which are the same as the Grunt Shell instructions above – you just include 
the script file). Again, Pig will automatically allocate and deallocate a 
15-node cluster.
- 
- Note: Again, Pig will automatically allocate and deallocate a 15-node cluster.
  
  From your current working directory, run:
  {{{

Reply via email to