GitHub user d2r opened a pull request:

    https://github.com/apache/storm/pull/881

    [STORM-1208] Guard against NPE, and avoid using NaN values

    * Removes malformed preconditions that don't do anything, and if they did 
work would throw Errors that would crash nimbus.
    * When reading and writing average-type metrics, use `0` instead of `NaN`
    * Avoid NPE accessing some maps by doing `(get m k)` instead of `(m k)`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/d2r/storm storm-1208-ui-npe-nan

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/storm/pull/881.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #881
    
----
commit 3857644b4c459cbe42b78ca8a13bd55ef704fd30
Author: Derek Dagit <der...@yahoo-inc.com>
Date:   2015-11-16T20:15:15Z

    Guard against NPE, and avoid using NaN values

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to