pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Pig Wiki] Trivial Update of "PigTutorial" by CorinneC
Date Wed, 18 Jun 2008 01:51:24 GMT
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 Scripts: Hadoop Cluster ==
  
- ---- /!\ '''Edit conflict - other version:''' ----
  To run the Pig scripts on a Hadoop cluster, do the following:
  
   1. Move to the pigtmp directory.
@@ -68, +67 @@

  $ hadoop dfs –copyFromLocal excite.log .
  }}}
   1.#4 Set the HADOOPSITEPATH environment variable to the location of your hadoop-site.xml
file.
- 
- ---- /!\ '''Edit conflict - your version:''' ----
- To run the Pig scripts on a Hadoop cluster, do the following:
- 
-  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 file from the pigtmp directory to the DFS directory.
- {{{
- $ hadoop dfs –copyFromLocal excite.log .
- }}}
-  1.#4 Set the HADOOPSITEPATH environment variable to the location of your hadoop-site.xml
file.
- 
- ---- /!\ '''End of edit conflict''' ----
   1. Execute the following command (using either script1-hadoop.pig or script2-hadoop.pig):
  {{{
  $ java -cp $PIGDIR/pig.jar:$HADOOPSITEPATH org.apache.pig.Main script1-hadoop.pig
  }}}
- 
- ---- /!\ '''Edit conflict - other version:''' ----
   1.#6 Review the result files (located in either the script1-hadoop-results or script2-hadoop-results
DFS directory):
  
- ---- /!\ '''Edit conflict - your version:''' ----
-  1.#6 Review the result files (located in either the script1-hadoop-results or script2-hadoop-results
DFS directory):
- 
- ---- /!\ '''End of edit conflict''' ----
  {{{
  $ hadoop dfs -ls script1-hadoop-results
  }}}

Mime
View raw message