diff options
author | Patrick Simianer <p@simianer.de> | 2014-06-14 19:03:21 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-06-14 19:03:21 +0200 |
commit | 5ddc763ab9953eebdaf78af4eb72288d7955b310 (patch) | |
tree | fffaf3d22173feae684b7c02ce86c67cf77c7fec /hadoop/streaming/test.sh | |
parent | 26c490f404731d053a6205719b6246502c07b449 (diff) |
cleanup
Diffstat (limited to 'hadoop/streaming/test.sh')
-rwxr-xr-x | hadoop/streaming/test.sh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/hadoop/streaming/test.sh b/hadoop/streaming/test.sh deleted file mode 100755 index 3cb47d5..0000000 --- a/hadoop/streaming/test.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - - -hadoop dfs -put test.input test.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=test_out - -$HSTREAMING \ - -input test.input \ - -output $OUT \ - -mapper /bin/cat \ - -jobconf "mapred.reduce.tasks=3" \ - -reducer org.apache.hadoop.mapred.lib.IdentityReducer - -hadoop dfs -get $OUT . -hadoop dfs -rmr $OUT -hadoop dfs -rm test.input - |