Author: olga Date: Wed Jun 24 20:31:20 2009 New Revision: 788174 URL: http://svn.apache.org/viewvc?rev=788174&view=rev Log: PIG-817: documentation update (chandec via olgan)
Modified: hadoop/pig/trunk/src/docs/src/documentation/content/xdocs/getstarted.xml Modified: hadoop/pig/trunk/src/docs/src/documentation/content/xdocs/getstarted.xml URL: http://svn.apache.org/viewvc/hadoop/pig/trunk/src/docs/src/documentation/content/xdocs/getstarted.xml?rev=788174&r1=788173&r2=788174&view=diff ============================================================================== --- hadoop/pig/trunk/src/docs/src/documentation/content/xdocs/getstarted.xml (original) +++ hadoop/pig/trunk/src/docs/src/documentation/content/xdocs/getstarted.xml Wed Jun 24 20:31:20 2009 @@ -158,14 +158,14 @@ <p>From your current working directory, compile the program: </p> <source> -$ javac -cp pig.jar idhadoop.java +$ javac -cp pig.jar idmapreduce.java </source> -<p>Note: idhadoop.class is written to your current working directory. Include â.â in the class path when you run the program. </p> +<p>Note: idmapreduce.class is written to your current working directory. Include â.â in the class path when you run the program. </p> <p>From your current working directory, run the program: </p> <source> -Unix: $ java -cp pig.jar:.:$HADOOPDIR idhadoop -Cygwin: $ java âcp â.;pig.jar;$HADOOPDIRâ idhadoop +Unix: $ java -cp pig.jar:.:$HADOOPDIR idmapreduce +Cygwin: $ java âcp â.;pig.jar;$HADOOPDIRâ idmapreduce </source> <p>To view the results, check the idout directory on your Hadoop system. </p> </section> @@ -214,7 +214,7 @@ <source> import java.io.IOException; import org.apache.pig.PigServer; -public class idhadoop { +public class idmapreduce{ public static void main(String[] args) { try { PigServer pigServer = new PigServer("mapreduce");