hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r489707 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/metrics/spi/AbstractMetricsContext.java
Date Fri, 22 Dec 2006 18:15:43 GMT
Author: cutting
Date: Fri Dec 22 10:15:41 2006
New Revision: 489707

URL: http://svn.apache.org/viewvc?view=rev&rev=489707
Log:
HADOOP-844.  Send metrics messages on a fixed-delay schedule instead of a fixed-rate schedule.
 Contributed by David Bowen.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/metrics/spi/AbstractMetricsContext.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=489707&r1=489706&r2=489707
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Fri Dec 22 10:15:41 2006
@@ -153,6 +153,8 @@
     sub-processes, so that libhadoop.a is found.
     (Arun C Murthy via cutting)
 
+43. HADOOP-844.  Send metrics messages on a fixed-delay schedule
+    instead of a fixed-rate schedule.  (David Bowen via cutting)
 
 Release 0.9.2 - 2006-12-15
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/metrics/spi/AbstractMetricsContext.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/metrics/spi/AbstractMetricsContext.java?view=diff&rev=489707&r1=489706&r2=489707
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/metrics/spi/AbstractMetricsContext.java
(original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/metrics/spi/AbstractMetricsContext.java
Fri Dec 22 10:15:41 2006
@@ -247,7 +247,7 @@
                 }
             };
             long millis = period * 1000;
-            timer.schedule(task, millis, millis);
+            timer.scheduleAtFixedRate(task, millis, millis);
          }
     }
     



Mime
View raw message