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

------------------------------------------------------------------------------
  == Pig Script Installation: Hadoop Cluster ==
  To install and run the Pig scripts on a Hadoop cluster, do the following:
  
-  1. Download and unzip the Pig tutorial file (*.gz) to your local directory. 
+  1. Download the Pig tutorial file (*.gz) from this page.
+  1. Unzip the file in the appropriate directory on your system. 
   1. Review the contents of the [#Pig_Tutorial_File Pig Tutorial File].
   1. Review the [#Tutorial_Pig_Script Tutorial Pig Script] and 
the[#Tutorial_Join_Pig_Script Tutorial-Join Pig Script].
   1. Copy the exite.log file to your DFS directory.
  {{{
  $ hadoop dfs –copyFromLocal tutorial/excite.log .
  }}}
-  1.#5 Set the HADOOPSITEPATH environment variable to the location of your 
hadoop-site.xml file.
+  1.#6 Set the HADOOPSITEPATH environment variable to the location of your 
hadoop-site.xml file.
   1. Execute the following command (using either tutorial.pig or 
tutorial-join.pig):
  {{{
  $ java -cp pig.jar:$HADOOPSITEPATH org.apache.pig.Main tutorial.pig
  }}}
-  1.#7 Review the results:
+  1.#8 Review the results:
  {{{
  $ hadoop dfs -ls ngrams.txt
  }}}

Reply via email to