diff options
author | Patrick Simianer <p@simianer.de> | 2014-06-14 16:46:27 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-06-14 16:46:27 +0200 |
commit | 26c490f404731d053a6205719b6246502c07b449 (patch) | |
tree | 3aa721098f1251dfbf2249ecd2736434c13b1d48 /hadoop/wordcount/pipes/run.sh |
init
Diffstat (limited to 'hadoop/wordcount/pipes/run.sh')
-rwxr-xr-x | hadoop/wordcount/pipes/run.sh | 12 |
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 + |