hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r500392 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/mapred/TaskTracker.java
Date Fri, 26 Jan 2007 22:44:35 GMT
Author: cutting
Date: Fri Jan 26 14:44:34 2007
New Revision: 500392

URL: http://svn.apache.org/viewvc?view=rev&rev=500392
Log:
HADOOP-936.  More metric renamings, as in HADOOP-890.  Contributed by Nigel.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=500392&r1=500391&r2=500392
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Fri Jan 26 14:44:34 2007
@@ -76,6 +76,9 @@
 23. HADOOP-935.  Fix contrib/abacus to not delete pre-existing output
     files, but rather to fail in this case.  (Runping Qi via cutting)
 
+24. HADOOP-936.  More metric renamings, as in HADOOP-890.
+    (Nigel Daley via cutting)
+
 
 Release 0.10.1 - 2007-01-10
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java?view=diff&rev=500392&r1=500391&r2=500392
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java Fri Jan 26 14:44:34
2007
@@ -132,9 +132,9 @@
       
       synchronized void completeTask() {
         if (metricsRecord != null) {
-          metricsRecord.setMetric("tasks-completed", ++totalTasksCompleted);
-          metricsRecord.setMetric("maps-running", mapTotal);
-          metricsRecord.setMetric("reduce-running", reduceTotal);
+          metricsRecord.setMetric("tasks_completed", ++totalTasksCompleted);
+          metricsRecord.setMetric("maps_running", mapTotal);
+          metricsRecord.setMetric("reduce_running", reduceTotal);
           metricsRecord.update();
         }
       }



Mime
View raw message