You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by kn...@apache.org on 2015/12/11 05:29:42 UTC

[1/3] storm git commit: stats.clj divide by zero exception

Repository: storm
Updated Branches:
  refs/heads/master a3f343a6a -> bd82914b8


stats.clj divide by zero exception


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/cb4ddaa3
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/cb4ddaa3
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/cb4ddaa3

Branch: refs/heads/master
Commit: cb4ddaa3e0444a49ddf48ebb2cd61c721a60ff7c
Parents: ceb3a0c
Author: Sanket <sc...@untilservice-lm>
Authored: Wed Dec 9 19:02:00 2015 -0600
Committer: Sanket <sc...@untilservice-lm>
Committed: Wed Dec 9 19:02:00 2015 -0600

----------------------------------------------------------------------
 storm-core/src/clj/backtype/storm/stats.clj | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/cb4ddaa3/storm-core/src/clj/backtype/storm/stats.clj
----------------------------------------------------------------------
diff --git a/storm-core/src/clj/backtype/storm/stats.clj b/storm-core/src/clj/backtype/storm/stats.clj
index ea4efe4..5f8053e 100644
--- a/storm-core/src/clj/backtype/storm/stats.clj
+++ b/storm-core/src/clj/backtype/storm/stats.clj
@@ -1333,7 +1333,7 @@
 
 (defn- val-avg
   [[t c]]
-  (if (= t 0) 0
+  (if (= c 0) 0
     (double (/ t c))))
 
 (defn aggregate-averages


[3/3] storm git commit: ADDING STORM-1385 to CHANGELOG

Posted by kn...@apache.org.
ADDING STORM-1385 to CHANGELOG


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/bd82914b
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/bd82914b
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/bd82914b

Branch: refs/heads/master
Commit: bd82914b8a4f7774f9bc8c26f68141634971eace
Parents: e7c5561
Author: Kyle Nusbaum <Ky...@gmail.com>
Authored: Thu Dec 10 22:29:18 2015 -0600
Committer: Kyle Nusbaum <Ky...@gmail.com>
Committed: Thu Dec 10 22:29:18 2015 -0600

----------------------------------------------------------------------
 CHANGELOG.md | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/bd82914b/CHANGELOG.md
----------------------------------------------------------------------
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1164745..4e7dbbe 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,5 @@
 ## 0.11.0
+ * STORM-1385: Divide by zero exception in stats.clj
  * STORM-1370: Bug fixes for MultitenantScheduler
  * STORM-1374: fix random failure on WindowManagerTest
  * STORM-1040: SQL support for Storm.


[2/3] storm git commit: Merge branch 'divzero' of github.com:redsanket/storm

Posted by kn...@apache.org.
Merge branch 'divzero' of github.com:redsanket/storm


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/e7c5561f
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/e7c5561f
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/e7c5561f

Branch: refs/heads/master
Commit: e7c5561fe1f0473621370c8feaace3ae755c4780
Parents: a3f343a cb4ddaa
Author: Kyle Nusbaum <Ky...@gmail.com>
Authored: Thu Dec 10 22:27:17 2015 -0600
Committer: Kyle Nusbaum <Ky...@gmail.com>
Committed: Thu Dec 10 22:27:17 2015 -0600

----------------------------------------------------------------------
 storm-core/src/clj/backtype/storm/stats.clj | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------