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: Local Mode == To install and run the Pig scripts in local mode, do the following: - 1. Download and unzip the Pig tutorial file to your local directory (''... not available yet''). + 1. Download the Pig tutorial file to your local directory (''... not available yet''). + 1. Unzip the Pig tutorial file. + {{{ + $ tar -xf pigtutorial.tar + }}} + 1.#3 Move to the newly created pigtmp directory. - 1. Review the contents of the [#Pig_Tutorial_File Pig Tutorial File]. + 1. Review the contents of the [#Pig_Tutorial_File Pig tutorial file]. 1. Review [#Pig_Script_1 Pig Script 1] and [#Pig_Script_2 Pig Script 2]. 1. Execute the following command (using either script1-local.pig or script2-local.pig). {{{ $ java -cp $PIGDIR/pig.jar org.apache.pig.Main -x local script1-local.pig }}} - 1.#6 Review the result file (either script1-local-results.txt or script2-local-results.txt): + 1.#7 Review the result file (either script1-local-results.txt or script2-local-results.txt): {{{ $ ls -l script1-local-results.txt }}}