summaryrefslogtreecommitdiff
path: root/dtrain/hstreaming/avg.rb
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-23 21:30:26 +0200
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-23 21:30:26 +0200
commit6d0d0eb6bbfaee6b6998659a55e2195977ccd217 (patch)
tree48230318fd25f94f020560c387d63054f6a7b98b /dtrain/hstreaming/avg.rb
parent715245dc7042ac0dca4fea94031d7c6de8058033 (diff)
NEXT
Diffstat (limited to 'dtrain/hstreaming/avg.rb')
-rwxr-xr-xdtrain/hstreaming/avg.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/dtrain/hstreaming/avg.rb b/dtrain/hstreaming/avg.rb
index 91d4e29a..5deb62e4 100755
--- a/dtrain/hstreaming/avg.rb
+++ b/dtrain/hstreaming/avg.rb
@@ -22,10 +22,11 @@ else
end
w.each_key { |k|
if k == shard_count_key
- puts "# shard count: #{shard_count.to_i}"
+ #puts "# shard count: #{shard_count.to_i}"
+ next
else
puts "#{k}\t#{w[k]/shard_count}"
- puts "# #{c[k]}"
+ #puts "# #{c[k]}"
end
}