summaryrefslogtreecommitdiff
path: root/hadoop/wordcount/pipes/run.sh
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-06-14 16:46:27 +0200
committerPatrick Simianer <p@simianer.de>2014-06-14 16:46:27 +0200
commit26c490f404731d053a6205719b6246502c07b449 (patch)
tree3aa721098f1251dfbf2249ecd2736434c13b1d48 /hadoop/wordcount/pipes/run.sh
init
Diffstat (limited to 'hadoop/wordcount/pipes/run.sh')
-rwxr-xr-xhadoop/wordcount/pipes/run.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/hadoop/wordcount/pipes/run.sh b/hadoop/wordcount/pipes/run.sh
new file mode 100755
index 0000000..0b02be7
--- /dev/null
+++ b/hadoop/wordcount/pipes/run.sh
@@ -0,0 +1,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
+