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

    https://github.com/apache/storm/pull/2433#discussion_r152705026
  
    --- Diff: storm-client/src/jvm/org/apache/storm/stats/StatsUtil.java ---
    @@ -1589,18 +1570,16 @@ public static ComponentPageInfo aggCompExecsStats(
                 if (lastReportedTime != null) {
                     reportedTime = lastReportedTime;
                 } else {
    -                reportedTime = 0;
    +                reportedTime = lastReportedTime = 0;
                 }
             }
     
             if (lastNimbusTime == null || 
!reportedTime.equals(lastReportedTime)) {
                 lastNimbusTime = Time.currentTimeSecs();
             }
     
    -        ret.put("is-timed-out", Time.deltaSecs(lastNimbusTime) >= timeout);
    --- End diff --
    
    Is it safe to remove two key-values? Just to check again.


---

Reply via email to