From 26c490f404731d053a6205719b6246502c07b449 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sat, 14 Jun 2014 16:46:27 +0200 Subject: init --- hadoop/wordcount/pipes/run.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 hadoop/wordcount/pipes/run.sh (limited to 'hadoop/wordcount/pipes/run.sh') 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 + -- cgit v1.2.3