hadoop-demo: updated and tested SR; moved to software/unstable
[slapos.git] / software / unstable / hadoop-demo / gutenberg / run.sh.in
1 #!/bin/bash
2
3 # http://www.michael-noll.com/tutorials/writing-an-hadoop-mapreduce-program-in-python/
4
5 . environment.sh
6 hadoop jar software_release/parts/hadoop-streaming/*jar \
7 -mapper demo/gutenberg/mapper.py \
8 -reducer demo/gutenberg/reducer.py \
9 -input var/gutenberg/input/* \
10 -output var/gutenberg/output
11