hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r387664 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java
Date Tue, 21 Mar 2006 23:19:03 GMT
Author: cutting
Date: Tue Mar 21 15:18:59 2006
New Revision: 387664

URL: http://svn.apache.org/viewcvs?rev=387664&view=rev
Log:
Fix for HADOOP-45.  Fatal task errors are now logged at the
JobTracker, facilitating debugging.

Modified:
    lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java
URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java?rev=387664&r1=387663&r2=387664&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskInProgress.java Tue Mar 21 15:18:59
2006
@@ -241,6 +241,7 @@
         String taskid = status.getTaskId();
         String diagInfo = status.getDiagnosticInfo();
         if (diagInfo != null && diagInfo.length() > 0) {
+            LOG.info("Error from "+taskid+": "+diagInfo);
             Vector diagHistory = (Vector) taskDiagnosticData.get(taskid);
             if (diagHistory == null) {
                 diagHistory = new Vector();



Mime
View raw message