source: proiecte/HadoopJUnit/hadoop-0.20.1/src/examples/python/compile @ 120

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
3export HADOOP_HOME=../../..
4
5export CLASSPATH="$HADOOP_HOME/build/classes"
6
7# so that filenames w/ spaces are handled correctly in loops below
8IFS=
9
10# add libs to CLASSPATH
11for f in $HADOOP_HOME/lib/*.jar; do
12  CLASSPATH=${CLASSPATH}:$f;
13done
14
15for f in $HADOOP_HOME/lib/jetty-ext/*.jar; do
16  CLASSPATH=${CLASSPATH}:$f;
17done
18
19# restore ordinary behaviour
20unset IFS
21jythonc -p org.apache.hadoop.examples -d -j wc.jar -c WordCount.py
Note: See TracBrowser for help on using the repository browser.