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

------------------------------------------------------------------------------
- The Pig tutorial shows you how to run two Pig scripts in local mode or on a 
Hadoop cluster.
+ The Pig tutorial shows you how to run two Pig scripts in local mode and on a 
Hadoop cluster.
  
-  * To run the scripts in local mode, no Hadoop or DFS installation is 
required. All files are installed and run from your local host and file system.
+  * To run the scripts in local mode, no Hadoop or HDFS installation is 
required. All files are installed and run from your local host and file system.
-  * To run the scripts on a Hadoop cluster, you need access to a Hadoop 
cluster and DFS installation.
+  * To run the scripts on a Hadoop cluster, you need access to a Hadoop 
cluster and HDFS installation.
  
  
  The Pig tutorial file (pigtutorial.tar.gz) includes the Pig JAR file 
(pig.jar) and the tutorial files (tutorial.jar, Pigs scripts, log files). These 
files work with Hadoop 0.17 and provide everything you need to run the Pig 
scripts. To get started, follow these basic steps: 
@@ -60, +60 @@

  
   1. Move to the pigtmp directory.
   1. Review [#Pig_Script_1 Pig Script 1] and [#Pig_Script_2 Pig Script 2].
-  1. Copy the excite.log.bz2 file from the pigtmp directory to the DFS 
directory.
+  1. Copy the excite.log.bz2 file from the pigtmp directory to the HDFS 
directory.
  {{{
  $ hadoop fs –copyFromLocal excite.log.bz2 .
  }}}
@@ -69, +69 @@

  {{{
  $ java -cp $PIGDIR/pig.jar:$HADOOPSITEPATH org.apache.pig.Main 
script1-hadoop.pig
  }}}
-  1.#6 Review the result files (located in either the script1-hadoop-results 
or script2-hadoop-results DFS directory):
+  1.#6 Review the result files (located in either the script1-hadoop-results 
or script2-hadoop-results HDFS directory):
  
  {{{
  $ hadoop fs -ls script1-hadoop-results

Reply via email to