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/PigTutorial

------------------------------------------------------------------------------
   * To run the scripts on a Hadoop cluster, you need access to a Hadoop 
cluster and DFS installation.
  
  
- ---- /!\ '''Edit conflict - other version:''' ----
  The Pig tutorial file (pigtutorial.tar.gz) includes the Pig JAR file 
(pig.jar) and the Pig tutorial files. These files work with Hadoop 0.17 and 
provide everything you need to run the Pig scripts in local mode or on a Hadoop 
cluster. To get started, follow these basic steps: 
  
   1. Install Java.
   1. Download the Pig tutorial file and install Pig.
   1. Run the Pig scripts - in local mode or on a Hadoop cluster. 
  
- ---- /!\ '''Edit conflict - your version:''' ----
- The Pig tutorial file (pigtutorial.tar.gz) includes the Pig JAR file 
(pig.jar) and the Pig tutorial files. These files work with Hadoop 0.17 and 
provide everything you need to run the Pig scripts in local mode or on a Hadoop 
cluster. To get started, follow these basic steps: 
- 
-  1. Install Java.
-  1. Download the Pig tutorial file and install Pig.
-  1. Run the Pig scripts - in local mode or on a Hadoop cluster. 
- 
- ---- /!\ '''End of edit conflict''' ----
  
  == Java Installation ==
  Make sure your run-time environment includes the following:
@@ -32, +23 @@

  
  == Pig Installation ==
  
- ---- /!\ '''Edit conflict - other version:''' ----
  To install Pig, do the following:
  
   1. Download the Pig tutorial file to your local directory 
(pigtutorial.tar.gz). 
@@ -45, +35 @@

   1. Copy the '''pig.jar''' file to the appropriate directory on your system. 
For example: /home/me/pig. 
   1. Create an environment variable, '''PIGDIR''', and point it to your 
directory. For example: export PIGDIR=/home/me/pig (bash, sh) or setenv PIGDIR 
/home/me/pig (tcsh, csh). 
  
- ---- /!\ '''Edit conflict - your version:''' ----
- To install Pig, do the following:
- 
-  1. Download the Pig tutorial file to your local directory 
(pigtutorial.tar.gz). 
-  1. Unzip the Pig tutorial file (the files are stored in a newly created 
directory, pigtmp).
- {{{
- $ tar -xzf pigtutorial.tar.gz
- }}} 
-  1.#3 Move to the pigtmp directory. 
-  1. Review the contents of the [#Pig_Tutorial_File Pig tutorial file].
-  1. Copy the '''pig.jar''' file to the appropriate directory on your system. 
For example: /home/me/pig. 
-  1. Create an environment variable, '''PIGDIR''', and point it to your 
directory. For example: export PIGDIR=/home/me/pig (bash, sh) or setenv PIGDIR 
/home/me/pig (tcsh, csh). 
- 
- ---- /!\ '''End of edit conflict''' ----
  
  
  == Pig Scripts: Local Mode ==

Reply via email to