summaryrefslogtreecommitdiff
path: root/dtrain/hstreaming/red-avg.rb
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2011-09-28 13:08:59 +0200
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2011-09-28 13:08:59 +0200
commitafdb78976b938bcbc1220135fc63a9c49ca564bb (patch)
treef8ed86d5115f219a98195d22c7855525fad57d68 /dtrain/hstreaming/red-avg.rb
parent78fb5d2761551f4a1a4f4e8c19be88dc0348f3d9 (diff)
hstreaming bug
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]}"
-