summaryrefslogtreecommitdiff
path: root/dtrain/hstreaming/red-avg.rb
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2011-09-30 00:33:36 +0200
committerPatrick Simianer <p@simianer.de>2011-09-30 00:33:36 +0200
commitabc2919ccf6cb57dd0320716cad378866b08054a (patch)
tree5c46017bd810a36796e5338d99d1bdab2020529f /dtrain/hstreaming/red-avg.rb
parent58f4ff5b79a545d59e21e77511a4b74c99b63d56 (diff)
parentafdb78976b938bcbc1220135fc63a9c49ca564bb (diff)
Merge branch 'master' of github.com:qlt/cdec_dtrain
Diffstat (limited to 'dtrain/hstreaming/red-avg.rb')
-rwxr-xr-xdtrain/hstreaming/red-avg.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/dtrain/hstreaming/red-avg.rb b/dtrain/hstreaming/red-avg.rb
index 11dc0d71..048128f5 100755
--- a/dtrain/hstreaming/red-avg.rb
+++ b/dtrain/hstreaming/red-avg.rb
@@ -19,8 +19,6 @@ shard_count = w["__SHARD_COUNT__"]
w.each_key { |k|
if k == shard_count_key then next end
- puts "#{k}\t{w[k]/shard_count}"
+ puts "#{k}\t#{w[k]/shard_count}"
}
-puts "#{shard_count_key}\t#{w[shard_count_key]}"
-