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

------------------------------------------------------------------------------
  
  Pig has two run modes or exectypes, local and hadoop (currently called 
mapreduce). To run Pig in local mode, you need access to a single machine. To 
run Pig in hadoop (mapreduce) mode, you need access to a Hadoop cluster.
  
- To get a listing of all Pig commands use {{{$pig –help}}}
+ To get a listing of all Pig commands use 
+ {{{
+ $ pig –help
+ }}}
  
  Note: A ticket has been entered to change {{{-x, -exectype local|mapreduce}}} 
 to  {{{-x, -exectype local|hadoop}}}
  
@@ -33, +36 @@

  
  == Environment ==
  
+ Unix and Windows users need to install and set up Java (including $JAVA_HOME 
and $PATH).
+ 
+ Windows users need to install Cygwin and the Perl package 
(http://www.cygwin.com/)
+ 
+ To set environment variables, use the right command for your shell: 
+   * setenv PIGDIR /pig  (tcsh, csh) 
+   * export PIGDIR=/pig (bash, sh, ksh)
+ 
+ To make things simple, copy all files to your current working directory (you 
may want to create a temp directory and move to it):
+ 
+   * Copy the /etc/passwd file to your current working directory ('''.'''):
+ {{{
+ $ cp /etc/passwd .
+ }}}
+ 
+   * Copy the pig.jar file from your SVN tree (see BuildPig) to your current 
working directory.
+ {{{ 
+ $ cp /yourSVNtree/pig.jar .
+ }}}
+ 
+   * Copy the sample code files (XXX.pig and XXX.java) to your current working 
directory.
+ 

Reply via email to