summaryrefslogtreecommitdiff
path: root/dtrain/hstreaming/avg.rb
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-26 11:36:49 +0200
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-26 11:36:49 +0200
commit28806638345e60bd442bf5fa8e7471f9115b0296 (patch)
tree1c304a800ac46f7d0f42ffdfb227571c80b56700 /dtrain/hstreaming/avg.rb
parent273abce33542fb991e7188c14cd6419870cdb2bd (diff)
remove obsolete stuff
Diffstat (limited to 'dtrain/hstreaming/avg.rb')
-rwxr-xr-xdtrain/hstreaming/avg.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/dtrain/hstreaming/avg.rb b/dtrain/hstreaming/avg.rb
index 5deb62e4..2599c732 100755
--- a/dtrain/hstreaming/avg.rb
+++ b/dtrain/hstreaming/avg.rb
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
+# first arg may be an int of custom shard count
shard_count_key = "__SHARD_COUNT__"
@@ -22,7 +23,6 @@ else
end
w.each_key { |k|
if k == shard_count_key
- #puts "# shard count: #{shard_count.to_i}"
next
else
puts "#{k}\t#{w[k]/shard_count}"