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
commitfde1df3ee578564f78d7d0eac453dcb3f1740e05 (patch)
tree3d986ff73becb4b062633bc6d2a7ba946a3bc488 /dtrain/hstreaming/avg.rb
parent9572d31167162955a02276c1846ae4baefa7ee53 (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}"