From 26c490f404731d053a6205719b6246502c07b449 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sat, 14 Jun 2014 16:46:27 +0200 Subject: init --- hadoop/streaming/no_reducer.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 hadoop/streaming/no_reducer.rb (limited to 'hadoop/streaming/no_reducer.rb') diff --git a/hadoop/streaming/no_reducer.rb b/hadoop/streaming/no_reducer.rb new file mode 100755 index 0000000..4410b93 --- /dev/null +++ b/hadoop/streaming/no_reducer.rb @@ -0,0 +1,9 @@ +#!/usr/bin/env ruby + + +i = 0 +while l = STDIN.gets + puts "line #{i} (#{l.strip})" + i+=1 +end + -- cgit v1.2.3