hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r730110 - in /hadoop/core/trunk: CHANGES.txt src/mapred/org/apache/hadoop/mapred/JobInProgress.java
Date Tue, 30 Dec 2008 12:07:04 GMT
Author: ddas
Date: Tue Dec 30 04:07:04 2008
New Revision: 730110

URL: http://svn.apache.org/viewvc?rev=730110&view=rev
Log:
HADOOP-4956. Creates TaskStatus for failed tasks with an empty Counters object instead of
null. Contributed by Devaraj Das.

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/JobInProgress.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=730110&r1=730109&r2=730110&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Tue Dec 30 04:07:04 2008
@@ -517,6 +517,9 @@
 
     HADOOP-4896. HDFS Fsck does not load HDFS configuration. (Raghu Angadi)
 
+    HADOOP-4956. Creates TaskStatus for failed tasks with an empty Counters 
+    object instead of null. (ddas)
+
 Release 0.19.1 - Unreleased
 
   IMPROVEMENTS

Modified: hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/JobInProgress.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/JobInProgress.java?rev=730110&r1=730109&r2=730110&view=diff
==============================================================================
--- hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/JobInProgress.java (original)
+++ hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/JobInProgress.java Tue Dec 30 04:07:04
2008
@@ -2340,7 +2340,7 @@
                                                     reason,
                                                     reason,
                                                     trackerName, phase,
-                                                    null);
+                                                    new Counters());
     status.setFinishTime(System.currentTimeMillis());
     updateTaskStatus(tip, status, metrics);
     JobHistory.Task.logFailed(tip.getTIPId(), 



Mime
View raw message