You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by wangli1426 <gi...@git.apache.org> on 2015/10/01 14:37:09 UTC

[GitHub] storm pull request: [STORM-1057] Add throughput metrics to spouts/...

Github user wangli1426 commented on a diff in the pull request:

    https://github.com/apache/storm/pull/753#discussion_r40907742
  
    --- Diff: storm-core/src/jvm/backtype/storm/utils/RateTracker.java ---
    @@ -72,7 +80,7 @@ public RateTracker(int validTimeWindowInMils, int numOfSlides, boolean simulate
          * @param count number of arrivals
          */
         public void notify(long count) {
    -        _histograms[_histograms.length-1]+=count;
    +        _histograms[_numOfSlides - 1] += count;
    --- End diff --
    
    @revans2 
    Thanks for your comment. Will you solve [STORM-1078] by yourself? I can solve this bug if you are too busy to do it.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---