diff options
Diffstat (limited to 'hadoop/streaming/no_reducer.sh')
-rwxr-xr-x | hadoop/streaming/no_reducer.sh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/hadoop/streaming/no_reducer.sh b/hadoop/streaming/no_reducer.sh deleted file mode 100755 index 7267166..0000000 --- a/hadoop/streaming/no_reducer.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - - -hadoop dfs -put no_reducer.input no_reducer.input - -HADOOP_HOME=/usr/lib/hadoop -HADOOP_VERSION=0.20.2-cdh3u1 -JAR=contrib/streaming/hadoop-streaming-$HADOOP_VERSION.jar -HSTREAMING="$HADOOP_HOME/bin/hadoop jar $HADOOP_HOME/$JAR" - -OUT=no_reducer_out - -$HSTREAMING \ - -input no_reducer.input \ - -output $OUT \ - -mapper "no_reducer.rb" \ - -file "no_reducer.rb" \ - -reducer NONE - -hadoop dfs -get $OUT . -hadoop dfs -rmr $OUT -hadoop dfs -rm no_reducer.input - |