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/GettingStarted

------------------------------------------------------------------------------
  
  == Requirements ==
  
-    1. '''Java 1.5''' or newer, preferably from Sun. Set JAVA_HOME to the root 
of your Java installation.
+    1. '''Java 1.5.x''' or newer, preferably from Sun. Set JAVA_HOME to the 
root of your Java installation.
     2. '''Ant''' build tool: [http://ant.apache.org/].
     3. To run unit tests, you also need '''JUnit''': 
[http://junit.sourceforge.net/].
     4. To run pig programs, you need access to a '''Hadoop cluster''': 
[http://lucene.apache.org/hadoop/]. It's also possible to run pig in "local" 
mode, with severely limited performance - this mode doesn't require setting up 
a Hadoop cluster.
  
  == Building Pig ==
  
- [Jeff] This needs to be changed, since 0.15 clusters are not supported any 
longer
- 
     1. Check out pig code from svn: `svn co 
http://svn.apache.org/repos/asf/incubator/pig/trunk`.
     2. Build the code from the top directory: `ant`. If the build is 
successful, you should see `pig.jar` created in that directory.
-    3. If you need to interact with a hadoop 0.15.x cluster, run ant clean; 
ant -Dhadoop.jarfile=hadoop15.jar to rebuild with the 15 hadoop code. The clean 
is needed when switching hadoop versions
+    3. To validate your `pig.jar` run unit test: `ant test`
+ 
  
  
  == Running Pig Programs ==

Reply via email to