Last change
on this file since 120 was
120,
checked in by (none), 14 years ago
|
Added the mail files for the Hadoop JUNit Project
|
-
Property svn:executable set to
*
|
File size:
452 bytes
|
Line | |
---|
1 | #!/usr/bin/env bash |
---|
2 | |
---|
3 | export HADOOP_HOME=../../.. |
---|
4 | |
---|
5 | export CLASSPATH="$HADOOP_HOME/build/classes" |
---|
6 | |
---|
7 | # so that filenames w/ spaces are handled correctly in loops below |
---|
8 | IFS= |
---|
9 | |
---|
10 | # add libs to CLASSPATH |
---|
11 | for f in $HADOOP_HOME/lib/*.jar; do |
---|
12 | CLASSPATH=${CLASSPATH}:$f; |
---|
13 | done |
---|
14 | |
---|
15 | for f in $HADOOP_HOME/lib/jetty-ext/*.jar; do |
---|
16 | CLASSPATH=${CLASSPATH}:$f; |
---|
17 | done |
---|
18 | |
---|
19 | # restore ordinary behaviour |
---|
20 | unset IFS |
---|
21 | jythonc -p org.apache.hadoop.examples -d -j wc.jar -c WordCount.py |
---|
Note: See
TracBrowser
for help on using the repository browser.