hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1034899 - in /hbase/trunk: CHANGES.txt src/main/java/org/apache/hadoop/hbase/metrics/PersistentMetricsTimeVaryingRate.java
Date Sat, 13 Nov 2010 22:46:09 GMT
Author: stack
Date: Sat Nov 13 22:46:08 2010
New Revision: 1034899

URL: http://svn.apache.org/viewvc?rev=1034899&view=rev
Log:
HBASE-3233 Fix Long Running Stats

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/metrics/PersistentMetricsTimeVaryingRate.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1034899&r1=1034898&r2=1034899&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Sat Nov 13 22:46:08 2010
@@ -678,6 +678,7 @@ Release 0.90.0 - Unreleased
    HBASE-3222  Regionserver region listing in UI is no longer ordered
    HBASE-3221  Race between splitting and disabling
    HBASE-3224  NPE in KeyValue$KVComparator.compare when compacting
+   HBASE-3233  Fix Long Running Stats
 
 
   IMPROVEMENTS

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/metrics/PersistentMetricsTimeVaryingRate.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/metrics/PersistentMetricsTimeVaryingRate.java?rev=1034899&r1=1034898&r2=1034899&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/metrics/PersistentMetricsTimeVaryingRate.java
(original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/metrics/PersistentMetricsTimeVaryingRate.java
Sat Nov 13 22:46:08 2010
@@ -82,6 +82,7 @@ public class PersistentMetricsTimeVaryin
     if (reset) {
       // use the previous avg as our starting min/max/avg
       super.inc(getPreviousIntervalAverageTime());
+      reset = false;
     } else {
       // maintain the stats that pushMetric() cleared
       maintainStats();



Mime
View raw message