summaryrefslogtreecommitdiff
path: root/hadoop/wordcount/pipes/run.sh
blob: 0b02be7badf51fc4e2dae7c0ceb8b0128d488c4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

HADOOP=/usr/lib/hadoop/

$HADOOP/bin/hadoop pipes \
                   -D hadoop.pipes.java.recordreader=true  \
                   -D hadoop.pipes.java.recordwriter=true \
                   -D mapred.reduce.tasks=30 \
                   -input in/bible.txt \
                   -output out/bible-wc  \
                   -program ./wordcount