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 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 on a Hadoop cluster, you need access to a Hadoop cluster and DFS installation. - The Pig JAR file (pig.jar) and the Pig tutorial file (*.tar.gz) include everything you need to get started. + The Pig JAR file (pig.jar) and the Pig tutorial file (*.gz) include everything you need to get started. === Java Installation === Your run-time environment should include '''Java 1.5'''. @@ -29, +29 @@ === Pig Scripts and Local Mode === To install and run the Pig scripts in local mode, do the following: - 1. Download and unzip the Pig tutorial file (*.tar.gz) to your local directory (the Pig tutorial files are described below). + 1. Download and unzip the Pig tutorial file (*.gz) to your local directory (the Pig tutorial files are described below). 1. Execute the following command (using either tutorial-local.pig or tutorial-join-local.pig) {{{ $ java -cp $PIGDIR/pig.jar org.apache.pig.Main -x local tutorial-local.pig @@ -44, +44 @@ === Pig Scripts and Hadoop Cluster === To install and run the Pig scripts on a Hadoop cluster, do the following: - 1. Download and unzip the Pig tutorial file (*.tar.gz) to your local directory (the Pig tutorial files are described below). + 1. Download and unzip the Pig tutorial file (*.gz) to your local directory (the Pig tutorial files are described below). 1. Copy the exite.log file to your DFS directory. {{{ $ hadoop dfs âcopyFromLocal tutorial/excite.log .