forked from apache/pig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RELEASE_NOTES.txt
48 lines (42 loc) · 1.77 KB
/
RELEASE_NOTES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
This notes are for Pig 0.1.1 release. This is our first release as Hadoop
subproject.
System Requirements
===================
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 - to build source only
3. Sigwin: http://www.cygwin.com/ - to run under windows
4. This release is compatible with Hadoop 0.18.x releases
Trying the Release
==================
1. Download pig-0.1.1.tar.gz
2. Unpack the file: tar -xzvf pig-0.1.1.tar.gz
3. Move into the installation directory: cd pig-0.1.1
4. To run pig without Hadoop cluster, execute the command below. This will
take you into an interactive shell called grunt that allows you to navigate
the local file system and execute Pig commands against the local files
bin/pig -x local
5. To run on your Hadoop cluster, you need to set PIG_CLASSPATH environment
variable to point to the directory with your hadoop-site.xml file and then run
pig. The commands below will take you into an interactive shell called grunt
that allows you to navigate Hadoop DFS and execute Pig commands against it
export PIG_CLASSPATH=/hadoop/conf
bin/pig
6. To build your own version of pig.jar run
ant
7. To run unit tests run
ant test
8. To build jar file with available user defined functions run commands below.
This currently only works with Java 1.6.x.
cd contrib/piggybank/java
ant
9. To build the tutorial:
cd tutorial
ant
10. To run tutorial follow instructions in http://wiki.apache.org/pig/PigTutorial
Relevant Documentation
======================
Pig Language Manual: http://wiki.apache.org/pig/PigLatin
Grunt Shell Manual: http://wiki.apache.org/pig/Grunt
Piggy Bank: http://wiki.apache.org/pig/PiggyBank
Pig Tutorial: http://wiki.apache.org/pig/PigTutorial