Return-Path: Delivered-To: apmail-incubator-pig-commits-archive@locus.apache.org Received: (qmail 92886 invoked from network); 18 Jun 2008 01:45:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jun 2008 01:45:24 -0000 Received: (qmail 36756 invoked by uid 500); 18 Jun 2008 01:45:26 -0000 Delivered-To: apmail-incubator-pig-commits-archive@incubator.apache.org Received: (qmail 36733 invoked by uid 500); 18 Jun 2008 01:45:26 -0000 Mailing-List: contact pig-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pig-dev@incubator.apache.org Delivered-To: mailing list pig-commits@incubator.apache.org Received: (qmail 36724 invoked by uid 99); 18 Jun 2008 01:45:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2008 18:45:26 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2008 01:44:45 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id BCE7CEA0A for ; Wed, 18 Jun 2008 01:45:03 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: pig-commits@incubator.apache.org Date: Wed, 18 Jun 2008 01:45:03 -0000 Message-ID: <20080618014503.18614.83965@eos.apache.org> Subject: [Pig Wiki] Trivial Update of "PigTutorial" by CorinneC X-Virus-Checked: Checked by ClamAV on apache.org 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 on a Hadoop cluster, you need access to a Hadoop cluster and DFS installation. - ---- /!\ '''Edit conflict - other version:''' ---- The Pig tutorial file (pigtutorial.tar.gz) includes the Pig JAR file (pig.jar) and the Pig tutorial files. These files work with Hadoop 0.17 and provide everything you need to run the Pig scripts in local mode or on a Hadoop cluster. To get started, follow these basic steps: 1. Install Java. 1. Download the Pig tutorial file and install Pig. 1. Run the Pig scripts - in local mode or on a Hadoop cluster. - ---- /!\ '''Edit conflict - your version:''' ---- - The Pig tutorial file (pigtutorial.tar.gz) includes the Pig JAR file (pig.jar) and the Pig tutorial files. These files work with Hadoop 0.17 and provide everything you need to run the Pig scripts in local mode or on a Hadoop cluster. To get started, follow these basic steps: - - 1. Install Java. - 1. Download the Pig tutorial file and install Pig. - 1. Run the Pig scripts - in local mode or on a Hadoop cluster. - - ---- /!\ '''End of edit conflict''' ---- == Java Installation == Make sure your run-time environment includes the following: @@ -32, +23 @@ == Pig Installation == - ---- /!\ '''Edit conflict - other version:''' ---- To install Pig, do the following: 1. Download the Pig tutorial file to your local directory (pigtutorial.tar.gz). @@ -45, +35 @@ 1. Copy the '''pig.jar''' file to the appropriate directory on your system. For example: /home/me/pig. 1. Create an environment variable, '''PIGDIR''', and point it to your directory. For example: export PIGDIR=/home/me/pig (bash, sh) or setenv PIGDIR /home/me/pig (tcsh, csh). - ---- /!\ '''Edit conflict - your version:''' ---- - To install Pig, do the following: - - 1. Download the Pig tutorial file to your local directory (pigtutorial.tar.gz). - 1. Unzip the Pig tutorial file (the files are stored in a newly created directory, pigtmp). - {{{ - $ tar -xzf pigtutorial.tar.gz - }}} - 1.#3 Move to the pigtmp directory. - 1. Review the contents of the [#Pig_Tutorial_File Pig tutorial file]. - 1. Copy the '''pig.jar''' file to the appropriate directory on your system. For example: /home/me/pig. - 1. Create an environment variable, '''PIGDIR''', and point it to your directory. For example: export PIGDIR=/home/me/pig (bash, sh) or setenv PIGDIR /home/me/pig (tcsh, csh). - - ---- /!\ '''End of edit conflict''' ---- == Pig Scripts: Local Mode ==